|
virtual const MouseState & | mouseState () const =0 |
| Returns current mouse state.
|
|
virtual const KeyboardState & | keyboardState () const =0 |
| Returns current keyboard state.
|
|
virtual bool | isJoyPresent (int joyId) const =0 |
| Returns true if the specified joystick is connected.
|
|
virtual const char * | joyName (int joyId) const =0 |
| Returns the name of the specified joystick.
|
|
virtual const char * | joyGuid (int joyId) const =0 |
| Returns the GUID of the specified joystick.
|
|
virtual int | joyNumButtons (int joyId) const =0 |
| Returns the number of available buttons for the specified joystick.
|
|
virtual int | joyNumHats (int joyId) const =0 |
| Returns the number of available hats for the specified joystick.
|
|
virtual int | joyNumAxes (int joyId) const =0 |
| Returns the number of available axes for the specified joystick.
|
|
virtual const JoystickState & | joystickState (int joyId) const =0 |
| Returns the state of the joystick.
|
|
bool | isJoyMapped (int joyId) const |
| Returns true if the joystick has a valid mapping configuration. More...
|
|
const JoyMappedState & | joyMappedState (int joyId) const |
| Returns the state of the mapped joystick.
|
|
void | deadZoneNormalize (Vector2f &joyVector, float deadZoneValue) const |
| Modifies the joystick axis vector to account for a dead zone.
|
|
void | addJoyMappingsFromFile (const char *filename) |
| Adds joystick mapping configurations from a text file.
|
|
void | addJoyMappingsFromStrings (const char **mappingStrings) |
| Adds joystick mapping configurations from a strings array terminated by a nullptr
|
|
unsigned int | numJoyMappings () const |
| Returns the current number of valid joystick mappings.
|
|
virtual bool | hasJoyVibration (int joyId) const =0 |
| Returns true if the specified joystick supports vibration.
|
|
virtual void | joyVibrate (int joyId, float lowFreqIntensity, float highFreqIntensity, unsigned int duration) const =0 |
| Vibrates the low (left) and high (right) frequency motors for the specified number of milliseconds. More...
|
|
MouseCursorMode | mouseCursorMode () const |
| Returns current mouse cursor mode.
|
|
virtual void | setMouseCursorMode (MouseCursorMode mode) |
| Sets the mouse cursor mode.
|
|
The interface class for parsing and dispatching input events.