gwn
Newbie level 4
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.
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.