aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-04-26 22:08:42 +0200
committervaxerski <[email protected]>2022-04-26 22:08:42 +0200
commit8b8453fe4e9d206a3b39641f2a0ff5b108c68fcc (patch)
treee6c40e704a217ccb899d2d6d4602d6876f2b60e8
parentd35019f185bbc5dc3e7cbc8faf2d72aa39643d90 (diff)
downloadHyprland-8b8453fe4e9d206a3b39641f2a0ff5b108c68fcc.tar.gz
Hyprland-8b8453fe4e9d206a3b39641f2a0ff5b108c68fcc.zip
hack
-rw-r--r--src/events/Devices.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/events/Devices.cpp b/src/events/Devices.cpp
index ade94b5d..abf759d6 100644
--- a/src/events/Devices.cpp
+++ b/src/events/Devices.cpp
@@ -70,6 +70,9 @@ void Events::listener_newInput(wl_listener* listener, void* data) {
g_pInputManager->newKeyboard(DEVICE);
break;
case WLR_INPUT_DEVICE_POINTER:
+ case WLR_INPUT_DEVICE_TABLET_PAD:
+ case WLR_INPUT_DEVICE_TABLET_TOOL:
+ case WLR_INPUT_DEVICE_TOUCH:
Debug::log(LOG, "Attached a mouse with name %s", DEVICE->name);
g_pInputManager->newMouse(DEVICE);
break;