config: support libinput sendEventsMode

This allows to enable / disable libinput devices.

Co-Authored-By: @Consolatis
This commit is contained in:
Sachin Bhat 2023-06-26 07:36:54 +08:00 committed by Consolatis
parent 9456b50983
commit 6fb06c54c2
6 changed files with 78 additions and 6 deletions

View file

@ -684,6 +684,20 @@ extending outward from the snapped edge.
The default method depends on the touchpad hardware.
*<libinput><device><sendEventsMode>* [yes|no|disabledOnExternalMouse]
Optionally enable or disable sending any device events.
The options available are:
- *yes* - Events are sent as usual
- *no* - No events are sent from this device
- *disabledOnExternalMouse* - This device does not send events if an
external mouse has been detected.
It is possible to prevent events from a device in the config and then do
a Reconfigure to temporarily enable / disable specific devices.
By default, this setting is not configured.
## WINDOW RULES
Two types of window rules are supported, actions and properties. They are