#include <PhxRawInputEngine.h>
Inheritance diagram for Phx::RawInputEngine::Driver:

Public Types | |
| typedef RawInputEngine::ButtonIdentifier | ButtonIdentifier |
| typedef RawInputEngine::AxisIdentifier | AxisIdentifier |
| typedef RawInputEngine::ButtonState | ButtonState |
| typedef RawInputEngine::AxisState | AxisState |
Public Member Functions | |
| virtual void | listener (Listener *listener)=0 |
| Sets the listener to be notified by the input layer. | |
| virtual void | buttonName (ButtonIdentifier button, const String &name)=0 |
| Sets the text-name for a raw button. | |
| virtual String | buttonName (ButtonIdentifier button) const =0 |
| Retrives the text name for the given button. | |
| virtual void | buttonState (ButtonIdentifier button, ButtonState state)=0 |
| Sets the current button state for the given button. | |
| virtual ButtonState | buttonState (ButtonIdentifier button) const =0 |
| Gets the current state for a button as set by the driver. | |
| virtual void | axisName (AxisIdentifier axis, const String &name)=0 |
| Sets the text-name for a raw axis. | |
| virtual String | axisName (AxisIdentifier axis) const =0 |
| Retrives the text name for the give axis. | |
| virtual void | axisState (AxisIdentifier axis, AxisState state)=0 |
| Sets the current axis state for the given axis. | |
| virtual AxisState | axisState (AxisIdentifier axis) const =0 |
| Gets the current state for a axis as set by the driver. | |
| const String & | name () const |
| Returns the name of this driver. | |
Protected Member Functions | |
| void | setName (const String &name) |
Classes | |
| class | Listener |
| A listener that is notified by the input layer each frame. More... | |
|
|
Retrives the text name for the give axis.
|
|
||||||||||||
|
Sets the text-name for a raw axis. The text name is what would be displayed to the user when binding raw axes to logical axes (e.g., "Mouse X" for the X axis of a mouse, or "Rotary 1" for a nondescript dial).
|
|
|
Gets the current state for a axis as set by the driver.
|
|
||||||||||||
|
Sets the current axis state for the given axis.
|
|
|
Retrives the text name for the given button.
|
|
||||||||||||
|
Sets the text-name for a raw button. The text name is what would be displayed to the user when binding raw buttons to logical buttons (e.g., "g" for the g key, or "Trigger" for a trigger on a joystick).
|
|
|
Gets the current state for a button as set by the driver.
|
|
||||||||||||
|
Sets the current button state for the given button.
|
|
|
Sets the listener to be notified by the input layer.
|
|
|
Returns the name of this driver.
|
1.4.2