PROPHET64 & MSSIAH Userforum




Official information and support forum for
MSSIAH and all PROPHET64 versions.



You are not logged in.

#1 2008-02-06 00:24:16

boorch
Nibbler
Registered: 2006-08-06
Posts: 49

how to do a right mouse button?!

hi people, i'm building a built-in gamepad for my c64. the question is, i know the pins for up, down, left, right and fire.. but i'm planning to add one more button for right mouse button..
is there anyone knows how the right mouse button works?
is it something like "+5v to the pot x pin" ?

Offline

 

#2 2008-02-06 01:35:53

jbuonacc
Centipede
From: Rochester, NY usa
Registered: 2007-02-07
Posts: 447

Re: how to do a right mouse button?!

pin 9 > X-position

Offline

 

#3 2008-02-06 03:40:40

boorch
Nibbler
Registered: 2006-08-06
Posts: 49

Re: how to do a right mouse button?!

i guessed right?

Offline

 

#4 2008-02-06 09:55:40

jbuonacc
Centipede
From: Rochester, NY usa
Registered: 2007-02-07
Posts: 447

Re: how to do a right mouse button?!

no, +5v is on pin 7. sorry, right mouse button is pin 1 for proportional mode (which is 1351 mode for P64)

pin----joystick mode-----proportional mode
1-----------up-----------------right button
2---------down------------------n/a
3---------left---------------------n/a
4---------right-------------------n/a
5---------n/a------------------y position
6------left button-------------left button
7---------+5v---------------------+5v
8---------gnd---------------------gnd
9------right button------------x postition

hope this helps, i typed it from the manual (which you could probably find online wink ).

Offline

 

#5 2008-02-06 12:07:36

boorch
Nibbler
Registered: 2006-08-06
Posts: 49

Re: how to do a right mouse button?!

okay, i'll use the right button in joystick mode anyway, because i'm building a mini joystick interface for the gamepad i'll build on c64.

Offline

 

#6 2008-02-06 16:21:51

jbuonacc
Centipede
From: Rochester, NY usa
Registered: 2007-02-07
Posts: 447

Re: how to do a right mouse button?!

the right button won't work with P64 in joystick mode, no?

Offline

 

#7 2008-02-06 20:41:49

boorch
Nibbler
Registered: 2006-08-06
Posts: 49

Re: how to do a right mouse button?!

yes it's not working, well, isn't there anyway to activate right button without activating mouse mode?

edit: a primitive solution but, i'll make my other button wired to the touch points of the f5 button, so i'll have another f5 button besides the original one and that'll be my right click button! wink

Last edited by boorch (2008-02-06 20:51:42)

Offline

 

Board footer

Powered by
© Copyright 2002–2008