From 1237732b97fcf21a19aed16f2ef966118a3ca2aa Mon Sep 17 00:00:00 2001 From: Vaxry Date: Fri, 3 May 2024 22:34:10 +0100 Subject: input: Introduce basic hyprland HID classes Implements an intermediary HID class for mice, keyboards and touch devices, removing the old structs from WLClasses.hpp Yes, virtual ones are duplicated a bit, but will likely be de-duped once wlr_input_device is not used anymore. --- src/devices/ITouch.cpp | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/devices/ITouch.cpp (limited to 'src/devices/ITouch.cpp') diff --git a/src/devices/ITouch.cpp b/src/devices/ITouch.cpp new file mode 100644 index 00000000..3fa347fd --- /dev/null +++ b/src/devices/ITouch.cpp @@ -0,0 +1,5 @@ +#include "ITouch.hpp" + +uint32_t ITouch::getCapabilities() { + return HID_INPUT_CAPABILITY_TOUCH; +} \ No newline at end of file -- cgit v1.2.3