Simon Ser
1d9c1bcea6
input-device: remove wlr_input_device.link
...
This field's ownership is unclear: it's in wlr_input_device, but
it's not managed by the common code, it's up to each individual
backend to use it and clean it up.
Since this is a backend implementation detail, move it to the
backend-specific structs.
3 years ago
Roman Gilg
8274c85d21
backend/headless: unlink input device on destroy
...
Removing an input device requires unlinking it from the list of all headless
input devices. For that implement a destroy function.
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
emersion
bc34486c04
backend/headless: add assertions
6 years ago
Markus Ongyerth
d9e978e1b3
rename wlr_tablet_tool to wlr_tablet
...
The previous naming was based on the input-device capability names from
libinput.
With code that uses the libinput_tablet_tool and mapping into tablet-v2,
this is confusing, so the name is changed to follow the names used in
the protocol.
6 years ago
emersion
7cbef15206
util: add wlr_ prefix to log symbols
6 years ago
Dominique Martinet
0c2a64df18
headless add_input_device: fix leak on error
...
Found through static analysis
7 years ago
emersion
79da4c175e
backend/headless: remove useless destructor
7 years ago
Scott Anderson
3c9fc7c68e
Add const to x11 and input interfaces
7 years ago
Drew DeVault
1d9be89e2d
Revert "ELF Visibility"
7 years ago
Scott Anderson
86269052eb
Explicitly export EFL symbols
7 years ago
emersion
c2e1474010
Reformat all #include directives
7 years ago
emersion
36ead80cd1
Make wlr_signal_emit_safe private
7 years ago
emersion
10ecf871f2
Remove wlr_backend.events.{output_remove,device_remove}
7 years ago
emersion
5e58d46cc1
Add wlr_signal_emit_safe
7 years ago
Dominique Martinet
995383b049
headless backend: add wlr_input_device_is_headless
7 years ago
emersion
bc5bdb7793
Add headless input devices
7 years ago