Simon Zeni
|
d750c5ac67
|
backend/libinput: rework switch interface
The wlr_libinput_input_device now owns its wlr_switch, instead of creating
a new wlr_libinput_input_device for it.
|
3 years ago |
Simon Zeni
|
91ba28e020
|
backend/libinput: remove wlr_input_device_impl
|
3 years ago |
Simon Zeni
|
0f3b38365d
|
types/wlr_switch: add base wlr_input_device
wlr_switch owns its wlr_input_device. It will be initialized when the
switch is initialized, and finished when the switch is destroyed.
|
3 years ago |
Ryan Walklin
|
4453757fc9
|
s/lid_switch/switch_device
Rename lid_switch to switch_device to disambiguate lid and tablet mode switches.
|
6 years ago |
Ryan Walklin
|
2a3c62b4d2
|
[WIP][DONTMERGE]Add support for libinput_switch input devices
These are used primarily by laptops to signal
the state of the lid (open/closed) and tablet
mode if supported, based on ACPI events.
|
6 years ago |