libevdev/libevdev
Peter Hutterer 9fe185dd3d Add a code-based name lookup function
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>
2019-03-21 00:55:32 +00:00
..
.gitignore Review/update .gitignore files 2013-11-19 09:34:23 +10:00
libevdev-int.h cosmetic: fix a couple of duplicate/missing empty lines 2015-03-04 08:41:33 +10:00
libevdev-names.c Add a code-based name lookup function 2019-03-21 00:55:32 +00:00
libevdev-uinput-int.h cosmetic: fix a couple of duplicate/missing empty lines 2015-03-04 08:41:33 +10:00
libevdev-uinput.c uinput: support the new UI_DEV_SETUP/UI_ABS_SETUP ioctls 2016-04-07 11:06:19 +10:00
libevdev-uinput.h uinput: make a note that the syspath we return is the input node 2017-07-03 09:55:29 +10:00
libevdev-util.h cosmetic: fix a couple of duplicate/missing empty lines 2015-03-04 08:41:33 +10:00
libevdev.c Don't read events unless required 2019-03-19 01:02:52 +00:00
libevdev.h Add a code-based name lookup function 2019-03-21 00:55:32 +00:00
libevdev.sym Add a code-based name lookup function 2019-03-21 00:55:32 +00:00
make-event-names.py include: sync event codes with kernel 4.19 2018-10-22 18:55:57 +10:00
Makefile.am configure.ac: enable subdir-objects 2017-01-09 09:40:28 +10:00