|
| | JoystickSim (const Joystick &joystick) |
| | Constructs from a Joystick object.
|
| |
| | JoystickSim (int port) |
| | Constructs from a joystick port number.
|
| |
| void | SetX (double value) |
| | Set the X value of the joystick.
|
| |
| void | SetY (double value) |
| | Set the Y value of the joystick.
|
| |
| void | SetZ (double value) |
| | Set the Z value of the joystick.
|
| |
| void | SetTwist (double value) |
| | Set the twist value of the joystick.
|
| |
| void | SetThrottle (double value) |
| | Set the throttle value of the joystick.
|
| |
| void | SetTrigger (bool state) |
| | Set the trigger value of the joystick.
|
| |
| void | SetTop (bool state) |
| | Set the top state of the joystick.
|
| |
| | GenericHIDSim (const GenericHID &joystick) |
| | Constructs from a GenericHID object.
|
| |
| | GenericHIDSim (int port) |
| | Constructs from a joystick port number.
|
| |
| void | NotifyNewData () |
| | Updates joystick data so that new values are visible to the user program.
|
| |
| void | SetRawButton (int button, bool value) |
| | Set the value of a given button.
|
| |
| void | SetRawAxis (int axis, double value) |
| | Set the value of a given axis.
|
| |
| void | SetPOV (int pov, int value) |
| | Set the value of a given POV.
|
| |
| void | SetPOV (int value) |
| | Set the value of the default POV (port 0).
|
| |
| void | SetAxisCount (int count) |
| | Set the axis count of this device.
|
| |
| void | SetPOVCount (int count) |
| | Set the POV count of this device.
|
| |
| void | SetButtonCount (int count) |
| | Set the button count of this device.
|
| |
| void | SetType (GenericHID::HIDType type) |
| | Set the type of this device.
|
| |
| void | SetName (const char *name) |
| | Set the name of this device.
|
| |
| void | SetAxisType (int axis, int type) |
| | Set the type of an axis.
|
| |
| bool | GetOutput (int outputNumber) |
| | Read the output of a button.
|
| |
| int64_t | GetOutputs () |
| | Get the encoded 16-bit integer that passes button values.
|
| |
| double | GetRumble (GenericHID::RumbleType type) |
| | Get the joystick rumble.
|
| |
Class to control a simulated joystick.