#include <kbddev.h>
| Data Fields | |
| int | console_phone | 
| IPC phone to the console device (for sending key events). | |
| int | initialized | 
| State of the structure (for checking before use). | |
| size_t | key_count | 
| Count of stored keys (i.e. | |
| int32_t * | keys | 
| Currently pressed keys (not translated to key codes). | |
| int32_t * | keys_old | 
| Previously pressed keys (not translated to key codes). | |
| int32_t * | led_data | 
| size_t | led_output_size | 
| usb_hid_report_path_t * | led_path | 
| unsigned | lock_keys | 
| Currently active lock keys. | |
| uint8_t | modifiers | 
| Currently pressed modifiers (bitmap). | |
| unsigned | mods | 
| Currently active modifiers including locks. | |
| ddf_dev_ops_t | ops | 
| uint8_t * | output_buffer | 
| size_t | output_size | 
| usb_kbd_repeat_t | repeat | 
| Information for auto-repeat of keys. | |
| fibril_mutex_t * | repeat_mtx | 
| Mutex for accessing the information about auto-repeat. | |
Holds a reference to generic USB/HID device structure and keyboard-specific data, such as currently pressed keys, modifiers and lock keys.
Also holds a IPC phone to the console (since there is now no other way to communicate with it).
Definition at line 66 of file kbddev.h.
| int initialized | 
| unsigned mods | 
 1.4.7
 1.4.7