[PATCH evemu 0/7] python: Kill make-event-names.py
Benjamin Tissoires
benjamin.tissoires at gmail.com
Thu Aug 14 11:00:38 PDT 2014
All,
this patch series aims at removing the need to generate event-names.py.
We can just rely on the external libevdev implementation as the C lib now
does.
This way, the python wrapper becomes truely a wrapper around the evemu C lib,
and no more generation/complains should happen from that.
I am just completely unsure about 7/7. The patch IMO does not add any value
to the API. I wrote it because libevdev exports it.
Also, I am not happy with 5/7 because libevdev does not provide the correct
API for this. We can (should) also implement it in libevdev, but this emulation
should stay until the libevdev implementation becomes mainstream and enough
spread.
Cheers,
Benjamin
Benjamin Tissoires (7):
Add wrappers around some libevdev utility functions
python: replace event_get_value with the C implementation
python: replace event_get_name with the C implementation
python: replace input_prop_get_name with the C implementation
python: emulate input_prop_get_value without event_names.py
python: remove deprecated make-event-names.py and the generated
event_name.py
python: use evemu_event_type_get_max directly
.gitignore | 1 -
python/Makefile.am | 13 +--
python/evemu/__init__.py | 82 +++++++++++++---
python/evemu/base.py | 31 ++++++
python/evemu/make-event-names.py | 200 --------------------------------------
python/evemu/tests/test_device.py | 14 +--
src/convert-old-dumps-to-1.1.py | 1 -
src/evemu.c | 30 ++++++
src/evemu.h | 77 +++++++++++++++
src/libevemu.ver | 10 ++
10 files changed, 228 insertions(+), 231 deletions(-)
delete mode 100755 python/evemu/make-event-names.py
--
2.0.4
More information about the Input-tools
mailing list