summaryrefslogtreecommitdiff
path: root/test/test-uinput.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-08-27 13:33:37 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2013-09-10 11:25:09 +1000
commitab2f20bfd6ad632b1ab5c41a0aac54d8bf2e0bc3 (patch)
tree3d638f2b951faa74bb6bc4c4dd917e10df86c605 /test/test-uinput.c
parent14ac764ec86452ca607403f314b0f8355d80290c (diff)
downloadlibevdev-ab2f20bfd6ad632b1ab5c41a0aac54d8bf2e0bc3.tar.gz
Revamp the API once again
Another look at the current API showed some inconsistencies, rectified in this commit: libevdev_kernel_*: modify the underlying kernel device libevdev_event_type_*: something with an event type libevdev_event_code_*: something with an event code libevdev_event_*: struct input_event-related functions (i.e. not device-related) libevdev_property_*: something with a property libevdev_*: anything applying to a device Hopefully that's the last API change. Current symbols deprecated and aliased. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Diffstat (limited to 'test/test-uinput.c')
-rw-r--r--test/test-uinput.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-uinput.c b/test/test-uinput.c
index e7546d1..2e9d3cd 100644
--- a/test/test-uinput.c
+++ b/test/test-uinput.c
@@ -65,7 +65,7 @@ START_TEST(test_uinput_create_device)
ck_assert_int_eq(rc, 0);
for (type = 0; type < EV_CNT; type++) {
- int max = libevdev_get_event_type_max(type);
+ int max = libevdev_event_type_get_max(type);
if (max == -1)
continue;
@@ -144,7 +144,7 @@ START_TEST(test_uinput_create_device_from_fd)
ck_assert_int_eq(rc, 0);
for (type = 0; type < EV_CNT; type++) {
- int max = libevdev_get_event_type_max(type);
+ int max = libevdev_event_type_get_max(type);
if (max == -1)
continue;