Joystick input device.
More...
#include <Joystick.h>
List of all members.
Public Member Functions |
PLINPUT_API | Joystick (const PLCore::String &sName, DeviceImpl *pImpl) |
| Constructor.
|
virtual PLINPUT_API | ~Joystick () |
| Destructor.
|
PLINPUT_API int | GetThreshold () const |
| Get threshold.
|
PLINPUT_API void | SetThreshold (int nThreshold=12000) |
| Set threshold.
|
virtual PLINPUT_API void | Update () override |
| Update device once per frame.
|
virtual PLINPUT_API void | UpdateOutputControl (Control *pControl) override |
| Update output controls (LEDs, effects etc.)
|
Detailed Description
Constructor & Destructor Documentation
Constructor.
- Parameters:
-
[in] | sName | Device name |
[in] | pImpl | System specific device implementation, can, but shouldn't be a null pointer |
Member Function Documentation
Get threshold.
- Returns:
- Threshold
Set threshold.
- Parameters:
-
Update device once per frame.
- Note:
- The default implementation is empty
Reimplemented from PLInput::Controller.
Update output controls (LEDs, effects etc.)
- Parameters:
-
[in] | pControl | Output control that has been changed, must be valid! |
- Note:
- The default implementation is empty
Reimplemented from PLInput::Controller.
The documentation for this class was generated from the following file: