aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-02-08 19:24:20 +0100
committerTudor Brindus <me@tbrindus.ca>2021-02-25 09:38:00 -0500
commiteea9c6331f01729d5feb8f86a4c0bbb53012d292 (patch)
tree087cd3b7341c8ddddca3425613858a6a4281ee49 /include/sway/input
parent641b8719ad7238cbc423c5575a58ac509bfcad02 (diff)
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.
Diffstat (limited to 'include/sway/input')
-rw-r--r--include/sway/input/libinput.h2
1 files changed, 2 insertions, 0 deletions
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