![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <keyboard.h>
Data Fields | |
| DEVICE | device |
| The Device entry for this Keyboard. | |
| uint32_t | keyboardid |
| Unique Id of this Keyboard in the Keyboard table. | |
| uint32_t | keyboardstate |
| Keyboard state (eg KEYBOARD_STATE_ATTACHED). | |
| uint32_t | keyboardleds |
| Keyboard LEDs (eg KEYBOARD_LED_NUMLOCK). | |
| uint32_t | keyboardrate |
| Keyboard repeat rate (Milliseconds). | |
| uint32_t | keyboarddelay |
| Keyboard repeat delay (Number of KeyboardRate intervals before first repeat). | |
| keyboard_device_get_proc | deviceget |
| A Device specific DeviceGet method implementing a standard Keyboard device interface (Or nil if the default method is suitable). | |
| keyboard_device_read_proc | deviceread |
| A Device specific DeviceRead method implementing a standard Keyboard device interface (Or nil if the default method is suitable). | |
| keyboard_device_control_proc | devicecontrol |
| A Device specific DeviceControl method implementing a standard Keyboard device interface (Or nil if the default method is suitable). | |
| MUTEX_HANDLE | lock |
| Keyboard lock. | |
| uint16_t | code |
| Scan code of current deadkey (If Applicable). | |
| uint16_t | index |
| Index state for current deadkey (If Applicable). | |
| uint32_t | modifiers |
| Modifier state for current deadkey (If Applicable). | |
| KEYBOARD_BUFFER | buffer |
| Keyboard input buffer. | |
| uint32_t | receivecount |
| uint32_t | receiveerrors |
| uint32_t | bufferoverruns |
| KEYBOARD_DEVICE * | prev |
| Previous entry in Keyboard table. | |
| KEYBOARD_DEVICE * | next |
| Next entry in Keyboard table. | |
| DEVICE device |
The Device entry for this Keyboard.
| uint32_t keyboardid |
Unique Id of this Keyboard in the Keyboard table.
| uint32_t keyboardstate |
Keyboard state (eg KEYBOARD_STATE_ATTACHED).
| uint32_t keyboardleds |
Keyboard LEDs (eg KEYBOARD_LED_NUMLOCK).
| uint32_t keyboardrate |
Keyboard repeat rate (Milliseconds).
| uint32_t keyboarddelay |
Keyboard repeat delay (Number of KeyboardRate intervals before first repeat).
| keyboard_device_get_proc deviceget |
A Device specific DeviceGet method implementing a standard Keyboard device interface (Or nil if the default method is suitable).
| keyboard_device_read_proc deviceread |
A Device specific DeviceRead method implementing a standard Keyboard device interface (Or nil if the default method is suitable).
| keyboard_device_control_proc devicecontrol |
A Device specific DeviceControl method implementing a standard Keyboard device interface (Or nil if the default method is suitable).
| MUTEX_HANDLE lock |
Keyboard lock.
| uint16_t code |
Scan code of current deadkey (If Applicable).
| uint16_t index |
Index state for current deadkey (If Applicable).
| uint32_t modifiers |
Modifier state for current deadkey (If Applicable).
| KEYBOARD_BUFFER buffer |
Keyboard input buffer.
| uint32_t receivecount |
| uint32_t receiveerrors |
| uint32_t bufferoverruns |
| KEYBOARD_DEVICE* prev |
Previous entry in Keyboard table.
| KEYBOARD_DEVICE* next |
Next entry in Keyboard table.