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

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 about changes to the axes and buttons. | |
| virtual String | buttonName (ButtonIdentifier button) const =0 |
| Retrieves the text name for the button set by the driver. | |
| virtual ButtonState | buttonState (ButtonIdentifier button) const =0 |
| Retrieves the current state of a button. | |
| virtual ButtonState | previousButtonState (ButtonIdentifier button) const =0 |
| Retrieves the previous state of the button. | |
| virtual String | axisName (AxisIdentifier axis) const =0 |
| Retrieves the text name for the axis set by the driver. | |
| virtual AxisState | axisState (AxisIdentifier axis) const =0 |
| Retrieves the current state of a axis. | |
| virtual AxisState | previousAxisState (AxisIdentifier axis) const =0 |
| Retrieves the previous state of the axis. | |
| virtual std::vector< ButtonIdentifier > | buttonIdentifiers (void) const =0 |
| Returns a list of all known button identifiers for this device. | |
| virtual std::vector< AxisIdentifier > | axisIdentifiers (void) const =0 |
| Returns a list of all known axis identifiers for this device. | |
| const String & | driverName () const |
| Returns the name of this client's underlying Driver. | |
Protected Member Functions | |
| void | setDriverName (const String &driverName) |
Classes | |
| class | Listener |
| A listener that can be notified of changes to the state of buttons or axes. More... | |
The RawInputEngine keeps track of Driver interfaces that deposit the current state of raw input devices into the system. The Client interface provides access to this data.
|
|
Returns a list of all known axis identifiers for this device.
|
|
|
Retrieves the text name for the axis set by the driver.
|
|
|
Retrieves the current state of a axis.
|
|
|
Returns a list of all known button identifiers for this device.
|
|
|
Retrieves the text name for the button set by the driver.
|
|
|
Retrieves the current state of a button.
|
|
|
Returns the name of this client's underlying Driver.
|
|
|
Sets the listener to be notified about changes to the axes and buttons.
|
|
|
Retrieves the previous state of the axis. This is the state of the axis as it was presented during the last frame.
|
|
|
Retrieves the previous state of the button. This is the state of the button as it was presented during the last frame.
|
1.4.2