Home | All Classes | Grouped Classes | Index | Search
General input device. More...
Derived from:
none
Derived by:
none
Group: Display (Input)
#include <ClanLib/display.h>
Construction:
Constructs an input device. |
Attributes:
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 id. | |
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 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. |
Operations:
Sets the position of the device. |
Signals:
Signal emitted when key is pressed. | |
Signal emitted when key is released. | |
Signal emitted when the mouse is double-clicked. | |
Signal emitted when pointer is moved (absolute movement). | |
Signal emitted when pointer's ball is moved (relative movement). | |
Signal emitted when axis is moved. | |
Deprecated. Use sig_pointer_move() instead. |
Implementation:
Detailed description:
!group=Display/Input! !header=display.h!