That code did not compile because those functions were only renamed in
header and code back then, but not in the example.
Fixes:
ab2f20bfd6ad ("Revamp the API once again")
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* rc = libevdev_next_event(dev, LIBEVDEV_READ_FLAG_NORMAL, &ev);
* if (rc == 0)
* printf("Event: %s %s %d\n",
- * libevdev_get_event_type_name(ev.type),
- * libevdev_get_event_code_name(ev.type, ev.code),
+ * libevdev_event_type_get_name(ev.type),
+ * libevdev_event_code_get_name(ev.type, ev.code),
* ev.value);
* } while (rc == 1 || rc == 0 || rc == -EAGAIN);
* @endcode