#include <joystickinputdevice.hpp>
Inheritance diagram for JoystickInputDevice:


Public Member Functions | |
| JoystickInputDevice () | |
| Default Constructor. | |
| ~JoystickInputDevice () | |
| Destructor. | |
| int | getLastButton () const |
| Gets the last joystick button which was pressed. | |
Protected Member Functions | |
| bool | poll () |
| bool | handle (vector< bool > &states) |
| InputDevice::handle(). | |
Protected Attributes | |
| int | lastButton |
| last pressed joysrick button | |
Definition at line 26 of file joystickinputdevice.hpp.
|
|
Default Constructor. Definition at line 26 of file joystickinputdevice.cpp. References PtfCore::getMessageLog(), and Singleton< PtfCore >::getSingleton(). Here is the call graph for this function: ![]() |
|
|
Destructor. Definition at line 44 of file joystickinputdevice.cpp. |
|
|
Gets the last joystick button which was pressed.
References lastButton. |
|
|
Reimplemented from InputDevice. Definition at line 76 of file joystickinputdevice.cpp. |
|
|
Reimplemented from InputDevice. Definition at line 51 of file joystickinputdevice.cpp. References PtfCore::getScheduler(), Singleton< PtfCore >::getSingleton(), lastButton, and Scheduler::quit(). Here is the call graph for this function: ![]() |
|
|
last pressed joysrick button Definition at line 28 of file joystickinputdevice.hpp. Referenced by getLastButton(), and poll(). |
1.3.8