The class Sp_Joy is used to read joystick information This class allows joystick to send Messages too
The class Sp_Joy is used to read joystick information This class allows joystick to send Messages too. message button has two fields:
- button : axe or buttons
- pressed: active or not
Let explain the protocol:
UP 100
DOWN 101
RIGHT 102
LEFT 103
B1 110
B2 111
B3 112
B4 113
virtual ~Sp_Joy()
int IsPresent() const
void ReadState()
void Print() const
float getPositionAxeX() const
float getPositionAxeY() const
float getButton1() const
float getButton2() const
float getButton3() const
Alphabetic index HTML hierarchy of classes or Java