|
PatchworkOS
|
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.
| keycode_t kbd_event_t::code |
Keycode of the key involved in the event.
Definition at line 317 of file kbd.h.
Referenced by dwm_kbd_read().
| kbd_mods_t kbd_event_t::mods |
| clock_t kbd_event_t::time |
| kbd_event_type_t kbd_event_t::type |
Type of keyboard event (press or release)
Definition at line 315 of file kbd.h.
Referenced by dwm_kbd_read().