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


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]

Up down axis position.

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: