![]() |
Joystick buttons access
Does anyone know how to access the buttons labeled 1,2,3,... on the joysticks in C/C++?
|
Re: Joystick buttons access
Have a look at Joystick::GetRawButton().
|
Re: Joystick buttons access
so,
Code:
if (Joystick::GetRawButton(2))//button 2 on the topCode:
Joystick stick(1); |
Re: Joystick buttons access
The second one, and yes, that is fine.
|
| All times are GMT -5. The time now is 02:30. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi