Interface for implementing a CL_InputDevice source. More...
Derived from: | public CL_DisposableObject |
Derived by: | None |
Group: | Display Target Interface (Display) |
#include <ClanLib/display.h>
Class Members:
Construction: | |
Destroys the input device provider. |
| |
Returns the human readable name of the device (i.e. 'Microsoft Sidewinder 3D'). | |
Return the hardware id/device for this device (i.e. /dev/input/js0) | |
Returns the input device type. | |
Friendly key name for specified identifier (A, B, Leertaste, Backspace, Mouse Left, ...). | |
Returns true if this provider implements keyid to/from string mapping. | |
Returns a generic string name for the specified key code. | |
Returns the key code for the specified generic string key name. | |
Returns true if the passed key code is down for this device. | |
Returns the x position of the device. | |
Returns the y position of the device. | |
Returns the the current position of a joystick axis. | |
Returns the number of axes available on this device. | |
Returns the number of buttons available on this device. | |
Returns the input device is in proximity mode. (Atm applicapble only to tablet.) |
| |
Initialize input device provider. | |
Sets the position of the device. | |
Update device. |