summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2021-02-08 19:24:20 +0100
committerFurkan Sahin <furkan-dev@proton.me>2021-02-08 19:24:20 +0100
commit8d66cce0adae673e8efcb29762f2d8fdd265f154 (patch)
tree087cd3b7341c8ddddca3425613858a6a4281ee49 /include
parentf72d92c7753fa9353c35fa1729be67b32befa91c (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')
-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