mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-22 19:30:06 +01:00
Calling libevdev_enable_event_code() overwrites EV_ABS/EV_REP values
Document this behaviour Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
6721131eaf
commit
d55056c468
1 changed files with 4 additions and 0 deletions
|
|
@ -1639,6 +1639,10 @@ int libevdev_disable_event_type(struct libevdev *dev, unsigned int type);
|
||||||
* This is a local modification only affecting only this representation of
|
* This is a local modification only affecting only this representation of
|
||||||
* this device.
|
* this device.
|
||||||
*
|
*
|
||||||
|
* If this function is called with a type of EV_ABS and EV_REP on a device
|
||||||
|
* that already has the given event code enabled, the values in data
|
||||||
|
* overwrite the previous values.
|
||||||
|
*
|
||||||
* @param dev The evdev device, already initialized with libevdev_set_fd()
|
* @param dev The evdev device, already initialized with libevdev_set_fd()
|
||||||
* @param type The event type to enable (EV_ABS, EV_KEY, ...)
|
* @param type The event type to enable (EV_ABS, EV_KEY, ...)
|
||||||
* @param code The event code to enable (ABS_X, REL_X, etc.)
|
* @param code The event code to enable (ABS_X, REL_X, etc.)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue