mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-24 21:40:05 +01:00
Fix a typo in the uinput documentation
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
001d194c19
commit
64efc0b5bf
1 changed files with 2 additions and 2 deletions
|
|
@ -54,10 +54,10 @@ struct libevdev_uinput;
|
|||
* return err;
|
||||
*
|
||||
* // post a REL_X event
|
||||
* err = libevdev_uinput_write(event(uidev, EV_REL, REL_X, -1);
|
||||
* err = libevdev_uinput_write_event(uidev, EV_REL, REL_X, -1);
|
||||
* if (err != 0)
|
||||
* return err;
|
||||
* libevdev_uinput_write(event(uidev, EV_SYN, SYN_REPORT, 0);
|
||||
* libevdev_uinput_write_event(uidev, EV_SYN, SYN_REPORT, 0);
|
||||
* if (err != 0)
|
||||
* return err;
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue