mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-07 21:40:36 +01:00
evdev: add a comment to the toggle_touch interface
And remove an unnecessary one Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
4cc24876da
commit
ca83625a74
2 changed files with 3 additions and 1 deletions
|
|
@ -1734,7 +1734,7 @@ struct evdev_dispatch_interface fallback_interface = {
|
|||
fallback_interface_device_removed, /* device_suspended, treat as remove */
|
||||
fallback_interface_device_added, /* device_resumed, treat as add */
|
||||
fallback_sync_initial_state, /* post_added */
|
||||
fallback_toggle_touch, /* toggle_touch */
|
||||
fallback_toggle_touch,
|
||||
};
|
||||
|
||||
static uint32_t
|
||||
|
|
|
|||
|
|
@ -308,6 +308,8 @@ struct evdev_dispatch_interface {
|
|||
void (*post_added)(struct evdev_device *device,
|
||||
struct evdev_dispatch *dispatch);
|
||||
|
||||
/* For touch arbitration, called on the device that should
|
||||
* enable/disable touch capabilities */
|
||||
void (*toggle_touch)(struct evdev_dispatch *dispatch,
|
||||
struct evdev_device *device,
|
||||
bool enable);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue