getting joystick data in VB6

Status
Not open for further replies.

gwn

Newbie level 4
Joined
Feb 2, 2007
Messages
7
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
1,330
joystick in vb6

i am trying to read joystick data such as position and buttons in VB6. i am using the GMS Joystick ActiveX Control. i can now read the position data but have problems in butons. the joystick has 4 buttons. i cant read them seperately. i mean no matter which button u press the program does the same thing. for example i want to write "5" in a text box when i press button1 and "2" when i press button 2. but when i press one of the four buttons "5" is written. can anyone help me in this topic. i am new in visual basic.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…