mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-29 23:00:09 +01:00
doc: fix conflicting documentation for libevdev_get_event_value()
Yes, the value we return is from the currently active slot, but there are a few niche cases where the active slot changes from what the client may think it is. So let's call it undefined like the other half of the documentation already does. Fixes #20 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
510bde8f47
commit
70881516f2
1 changed files with 1 additions and 2 deletions
|
|
@ -1515,8 +1515,7 @@ const struct input_absinfo* libevdev_get_abs_info(const struct libevdev *dev, un
|
|||
* the event.
|
||||
*
|
||||
* If the device supports ABS_MT_SLOT, the value returned for any ABS_MT_*
|
||||
* event code is the value of the currently active slot. You should use
|
||||
* libevdev_get_slot_value() instead.
|
||||
* event code is undefined. Use libevdev_get_slot_value() instead.
|
||||
*
|
||||
* @param dev The evdev device, already initialized with libevdev_set_fd()
|
||||
* @param type The event type for the code to query (EV_SYN, EV_REL, etc.)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue