Drop some trailing whitespaces

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
python: honor LD_LIBRARY_PATH in the test runner

ctypes.util.find_library doesn't honor LD_LIBRARY_PATH, instantiating directly
(like we do for for libevemu already) does.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
python: add wrappers around some libevdev utility functions

So we can get rid of the generated mapping tables.

Requires newest libevdev for libevdev_property_from_name()

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
python: replace event_get_value/event_get_name with the C implementation

Relying on an external lib removes the pain to maintain our own input.h
implementation.

The functions accept both strings and integer values in both directions of
conversion.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
python: replace input_prop_get_value/get_name with the C implementation

Relying on an external lib removes the pain to maintain our own input.h
implementation.

The functions accept both strings and integer values in both directions of
conversion.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
python: remove deprecated make-event-names.py and the generated event_name.py

Nobody uses this file anymore, and it was never been a public python API.
We can safely kill it and remove the need to generate some files from
input.h.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
python: widen the tests for some int/str values where there shouldn't be

The API is forgiving to int/str where there shouldn't be any, so make sure we
test for that.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>