From eea9c6331f01729d5feb8f86a4c0bbb53012d292 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 8 Feb 2021 19:24:20 +0100 Subject: 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. --- include/sway/input/libinput.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/sway/input') diff --git a/include/sway/input/libinput.h b/include/sway/input/libinput.h index de019976..890d632e 100644 --- a/include/sway/input/libinput.h +++ b/include/sway/input/libinput.h @@ -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 -- cgit v1.2.3