summaryrefslogtreecommitdiff
path: root/src/devices
diff options
context:
space:
mode:
authorJManch <61563764+JManch@users.noreply.github.com>2024-11-11 13:45:33 +0000
committerGitHub <noreply@github.com>2024-11-11 13:45:33 +0000
commit07052a515bea46e8b01d3ca5b2c284c272c5ed34 (patch)
treeec2bb8d9bd352c4b8f2d7024aa16b1013a0fec4c /src/devices
parent1fa0cd7a7574c8e93c567bf0453c155285dd3960 (diff)
pointer: map devices across all outputs by default (#8352)
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/Tablet.hpp3
-rw-r--r--src/devices/VirtualPointer.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/Tablet.hpp b/src/devices/Tablet.hpp
index 4894ac8e..8f49c984 100644
--- a/src/devices/Tablet.hpp
+++ b/src/devices/Tablet.hpp
@@ -92,9 +92,10 @@ class CTablet : public IHID {
WP<CTablet> self;
bool relativeInput = false;
+ bool absolutePos = false;
std::string boundOutput = "";
CBox activeArea;
- CBox boundBox; // output-local
+ CBox boundBox;
private:
CTablet(SP<Aquamarine::ITablet> tablet);
diff --git a/src/devices/VirtualPointer.cpp b/src/devices/VirtualPointer.cpp
index 7ad18775..514c8c32 100644
--- a/src/devices/VirtualPointer.cpp
+++ b/src/devices/VirtualPointer.cpp
@@ -38,7 +38,7 @@ CVirtualPointer::CVirtualPointer(SP<CVirtualPointerV1Resource> resource) : point
listeners.holdBegin = pointer->events.holdBegin.registerListener([this](std::any d) { pointerEvents.holdBegin.emit(d); });
listeners.holdEnd = pointer->events.holdEnd.registerListener([this](std::any d) { pointerEvents.holdEnd.emit(d); });
- boundOutput = resource->boundOutput ? resource->boundOutput->szName : "entire";
+ boundOutput = resource->boundOutput ? resource->boundOutput->szName : "";
deviceName = pointer->name;
}