|
PatchworkOS
c9fea19
A non-POSIX operating system.
|
Keyboard event structure. More...
#include <kbd.h>
Data Fields | |
| clock_t | time |
| Timestamp of the event. | |
| kbd_event_type_t | type |
| Type of keyboard event (press or release) | |
| kbd_mods_t | mods |
| Active keyboard modifiers. | |
| keycode_t | code |
| Keycode of the key involved in the event. | |
Keyboard event structure.
The kbd_event_t structure read from a keyboards stream file, for example /dev/kbd/0/events.
| kbd_event_type_t kbd_event_t::type |
| kbd_mods_t kbd_event_t::mods |
| keycode_t kbd_event_t::code |