#include <inputmanager.h>
Public Member Functions | |
InputManager () | |
void | detectDevices () |
void | setAllEnabled (bool enable) |
unsigned int | deviceCount () |
unsigned int | keyboardCount () |
unsigned int | mouseCount () |
unsigned int | joystickCount () |
unsigned int | touchCount () |
unsigned int | unknownDeviceCount () |
QList< Keyboard * > | keyboardList () |
QList< Mouse * > | mouseList () |
QList< Joystick * > | joystickList () |
QList< Touch * > | touchList () |
QList< InputDevice * > | unknownDeviceList () |
InputList | inputList () |
Keyboard * | keyboard (int id=0) |
Mouse * | mouse (int id=0) |
Joystick * | joystick (int id=0) |
Touch * | touch (int id=0) |
InputDevice * | input (int id=0) |
Definition at line 33 of file inputmanager.h.
InputManager::InputManager | ( | ) |
Definition at line 44 of file inputmanager.cpp.
void InputManager::detectDevices | ( | ) |
Definition at line 83 of file inputmanager.cpp.
unsigned int InputManager::deviceCount | ( | ) |
Definition at line 93 of file inputmanager.cpp.
InputDevice * InputManager::input | ( | int | id = 0 |
) |
Definition at line 189 of file inputmanager.cpp.
InputList InputManager::inputList | ( | ) |
Definition at line 148 of file inputmanager.cpp.
Joystick * InputManager::joystick | ( | int | id = 0 |
) |
Definition at line 171 of file inputmanager.cpp.
unsigned int InputManager::joystickCount | ( | ) |
Definition at line 108 of file inputmanager.cpp.
QList< Joystick * > InputManager::joystickList | ( | ) |
Definition at line 133 of file inputmanager.cpp.
Keyboard * InputManager::keyboard | ( | int | id = 0 |
) |
Definition at line 153 of file inputmanager.cpp.
unsigned int InputManager::keyboardCount | ( | ) |
Definition at line 98 of file inputmanager.cpp.
QList< Keyboard * > InputManager::keyboardList | ( | ) |
Definition at line 123 of file inputmanager.cpp.
Mouse * InputManager::mouse | ( | int | id = 0 |
) |
Definition at line 162 of file inputmanager.cpp.
unsigned int InputManager::mouseCount | ( | ) |
Definition at line 103 of file inputmanager.cpp.
QList< Mouse * > InputManager::mouseList | ( | ) |
Definition at line 128 of file inputmanager.cpp.
void InputManager::setAllEnabled | ( | bool | enable | ) |
Definition at line 88 of file inputmanager.cpp.
Touch * InputManager::touch | ( | int | id = 0 |
) |
Definition at line 180 of file inputmanager.cpp.
unsigned int InputManager::touchCount | ( | ) |
Definition at line 113 of file inputmanager.cpp.
QList< Touch * > InputManager::touchList | ( | ) |
Definition at line 138 of file inputmanager.cpp.
unsigned int InputManager::unknownDeviceCount | ( | ) |
Definition at line 118 of file inputmanager.cpp.
QList< InputDevice * > InputManager::unknownDeviceList | ( | ) |
Definition at line 143 of file inputmanager.cpp.