aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2021-02-08 19:24:20 +0100
committerLibravatar Tudor Brindus <me@tbrindus.ca>2021-02-25 09:38:00 -0500
commiteea9c6331f01729d5feb8f86a4c0bbb53012d292 (patch)
tree087cd3b7341c8ddddca3425613858a6a4281ee49 /include
parentman: document `input XXX map_to_output *` (diff)
downloadsway-eea9c6331f01729d5feb8f86a4c0bbb53012d292.tar.gz
sway-eea9c6331f01729d5feb8f86a4c0bbb53012d292.tar.zst
sway-eea9c6331f01729d5feb8f86a4c0bbb53012d292.zip
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')
-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);
6 6
7void sway_input_reset_libinput_device(struct sway_input_device *device); 7void sway_input_reset_libinput_device(struct sway_input_device *device);
8 8
9bool sway_libinput_device_is_builtin(struct sway_input_device *device);
10
9#endif 11#endif