Class hierarchy Compound list File list Compound Members File Members
Joystick Class Reference
A joystick class, created automatically (if available) by the console. More...
Inherits SystemInterface.
List of all members.
Public Members
- virtual long update () = 0
- Must be called to poll the current joystick status.
- virtual int getX () = 0
- Left-Right axis position.
- virtual int getY () = 0
- Up down axis position.
- virtual int getZ () = 0
- Z Axe, not available in all joysticks.
- virtual int button (int Num) = 0
- Get the status of a button (main one is usually 0).
Detailed Description
A joystick class, created automatically (if available) by the console.
Member Function Documentation
virtual long Joystick::update() = 0 [pure virtual]
Must be called to poll the current joystick status.
virtual int Joystick::getX() = 0 [pure virtual]
Left-Right axis position.
virtual int Joystick::getY() = 0 [pure virtual]
virtual int Joystick::getZ() = 0 [pure virtual]
Z Axe, not available in all joysticks.
virtual int Joystick::button(int Num) = 0 [pure virtual]
Get the status of a button (main one is usually 0).
The documentation for this class was generated from the following file: