mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2026-05-08 10:08:07 +02:00
Fix a typo, add a @ref in the documentation
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
6cbf971b39
commit
be87068a9b
1 changed files with 2 additions and 2 deletions
|
|
@ -165,7 +165,7 @@ extern "C" {
|
||||||
* The kernel sends evdev events separated by an event of type EV_SYN and
|
* The kernel sends evdev events separated by an event of type EV_SYN and
|
||||||
* code SYN_REPORT. Such an event marks the end of a frame of hardware
|
* code SYN_REPORT. Such an event marks the end of a frame of hardware
|
||||||
* events. The number of events between SYN_REPORT events is arbitrary and
|
* events. The number of events between SYN_REPORT events is arbitrary and
|
||||||
* depends on the hardware. And example event sequence may look like this:
|
* depends on the hardware. An example event sequence may look like this:
|
||||||
* @code
|
* @code
|
||||||
EV_ABS ABS_X 9
|
EV_ABS ABS_X 9
|
||||||
EV_ABS ABS_Y 8
|
EV_ABS ABS_Y 8
|
||||||
|
|
@ -218,7 +218,7 @@ extern "C" {
|
||||||
* libevdev simplifies this approach: if the state of the device has
|
* libevdev simplifies this approach: if the state of the device has
|
||||||
* changed, libevdev generates an event for each code with the new value and
|
* changed, libevdev generates an event for each code with the new value and
|
||||||
* passes it to the caller during libevdev_next_event() if
|
* passes it to the caller during libevdev_next_event() if
|
||||||
* LIBEVDEV_READ_FLAG_SYNC is set.
|
* @ref LIBEVDEV_READ_FLAG_SYNC is set.
|
||||||
*
|
*
|
||||||
* For events of type EV_ABS and an event code less than ABS_MT_SLOT, the
|
* For events of type EV_ABS and an event code less than ABS_MT_SLOT, the
|
||||||
* handling of state changes is as described above. For events between
|
* handling of state changes is as described above. For events between
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue