Derived from: | None |
Derived by: | None |
Group: | Input (Display) |
#include <ClanLib/display.h>
Class Members:
Construction: | |
Constructs a null instance. |
| |
Returns true if this object is invalid. | |
Throw an exception if this object is invalid. | |
Returns the provider for this input device. | |
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 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 position (x,y) of the 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 true if the input device is in proximity (applicable for tablets). |
| |
Sets the position of the device. | |
Update device. |
| |
Signal emitted when key is pressed. | |
Signal emitted when key is released. | |
Signal emitted when pointer is moved (absolute movement). | |
Signal emitted when axis is moved. | |
Signal emitted when the mouse is double-clicked. | |
Signal emitted when proximity is entered or exited. |