mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2026-05-06 19:38:44 +02:00
Two new function pairs: libevdev_event_code_from_code_name() libevdev_event_type_from_code_name() libevdev_event_code_from_code_name_n() libevdev_event_type_from_code_name_n() These functions look up event codes/types by the name of the event code only, removing the need to figure out what event type an event code has. So if all you have is "BTN_TOUCH", you can now look up the type and code for that, without having to check the prefix yourself to guess at the type. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| libevdev-int.h | ||
| libevdev-names.c | ||
| libevdev-uinput-int.h | ||
| libevdev-uinput.c | ||
| libevdev-uinput.h | ||
| libevdev-util.h | ||
| libevdev.c | ||
| libevdev.h | ||
| libevdev.sym | ||
| make-event-names.py | ||
| Makefile.am | ||