summaryrefslogtreecommitdiff
path: root/src/debug/HyprCtl.cpp
diff options
context:
space:
mode:
authorHistausse <histausse@protonmail.com>2022-10-07 16:03:52 +0200
committerHistausse <histausse@protonmail.com>2022-10-08 15:25:46 +0200
commit32ae0c51f006cbcf41cfae3cff4d3f63ba91cccd (patch)
tree0d90ee91ea746368cc5d612d7c4d8752a70ec928 /src/debug/HyprCtl.cpp
parentfe4a97f2450f9ebb916bf62502fd46470f7735dd (diff)
Add input:touchdevice:td_rotation config
Add support for touch device roation. The rotation is set globally with `input:touchdevice:td_rotation config` and by device with `td_rotation` in a device block.
Diffstat (limited to 'src/debug/HyprCtl.cpp')
-rw-r--r--src/debug/HyprCtl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp
index c602ab31..8a4a27ab 100644
--- a/src/debug/HyprCtl.cpp
+++ b/src/debug/HyprCtl.cpp
@@ -562,6 +562,7 @@ std::string dispatchKeyword(std::string in) {
if (COMMAND.contains("input") || COMMAND.contains("device:")) {
g_pInputManager->setKeyboardLayout(); // update kb layout
g_pInputManager->setPointerConfigs(); // update mouse cfgs
+ g_pInputManager->setTouchDeviceConfigs(); // update touch device cfgs
}
if (COMMAND.contains("general:layout"))