Automatically map built-in touchscreens/tablets to built-in panels

Detect whether an output is built-in via its type. Detect whether
a touchscreen or tablet tool is built-in via its ID_PATH property.
This commit is contained in:
Simon Ser 2021-02-08 19:24:20 +01:00 committed by Tudor Brindus
parent 641b8719ad
commit eea9c6331f
5 changed files with 76 additions and 0 deletions

View file

@ -6,4 +6,6 @@ void sway_input_configure_libinput_device(struct sway_input_device *device);
void sway_input_reset_libinput_device(struct sway_input_device *device);
bool sway_libinput_device_is_builtin(struct sway_input_device *device);
#endif