![]() |
Joystick accessors
Hi, I hope someone can clear up some confusion the WPI users guide is causing me. What is the difference between someJoysick.GetX(), someJoysick.GetAxis(kXAxis), someJoysick.GetRawAxis(kXAxis)?
|
Re: Joystick accessors
nothing, they all get the X axis. I recommend the GetX() function, but if you need to be able to dynamically set the joystick axis you need to get, use the others
edit: GetRawAxis uses a number instead of the enum (kXAxis) |
| All times are GMT -5. The time now is 13:54. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi