Create event type/code lookup tables
authorDavid Herrmann <dh.herrmann@gmail.com>
Mon, 28 Oct 2013 16:16:45 +0000 (17:16 +0100)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 31 Oct 2013 01:23:13 +0000 (11:23 +1000)
commitd64ee00eeb78ee19a16e48d103e4a4bdc03e5ec1
tree2779bcd4328bcd95a720afb5aaea85723cc45db2
parent5183bf37634f2eaeb3616baf6c76993ea697cfdd
Create event type/code lookup tables

Additionally to type->string mapping tables we now also create
string->type lookup tables. The lookup tables are sorted by their name
so binary-search will work.

We create one lookup table for EV_* types and one for all event-codes.
More tables (like bus-names, input-properties, ..) can be added later.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
libevdev/make-event-names.py