summaryrefslogtreecommitdiff
path: root/src/devices
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-11-09 01:53:01 +0000
committerVaxry <vaxry@vaxry.net>2024-11-09 01:53:05 +0000
commit4c7a2faf85a2d74508cc8a95df42ebe52b47383b (patch)
tree361b883c75268b64cf1fa6237c7542ee4f95f0fc /src/devices
parent3b66351eeb76e802bac37cc892529549efc49905 (diff)
input: cleanup device naming logic
ref #8301
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/IHID.hpp2
-rw-r--r--src/devices/IKeyboard.hpp1
-rw-r--r--src/devices/IPointer.hpp1
-rw-r--r--src/devices/ITouch.hpp1
-rw-r--r--src/devices/Tablet.hpp5
5 files changed, 1 insertions, 9 deletions
diff --git a/src/devices/IHID.hpp b/src/devices/IHID.hpp
index cac25112..4a0ff8fd 100644
--- a/src/devices/IHID.hpp
+++ b/src/devices/IHID.hpp
@@ -36,5 +36,5 @@ class IHID {
CSignal destroy;
} events;
- std::string deviceName;
+ std::string deviceName, hlName;
}; \ No newline at end of file
diff --git a/src/devices/IKeyboard.hpp b/src/devices/IKeyboard.hpp
index 76d2c31b..dce2127a 100644
--- a/src/devices/IKeyboard.hpp
+++ b/src/devices/IKeyboard.hpp
@@ -94,7 +94,6 @@ class IKeyboard : public IHID {
std::array<xkb_mod_index_t, 8> modIndexes = {XKB_MOD_INVALID};
uint32_t leds = 0;
- std::string hlName = "";
std::string xkbFilePath = "";
std::string xkbKeymapString = "";
int xkbKeymapFD = -1;
diff --git a/src/devices/IPointer.hpp b/src/devices/IPointer.hpp
index f38ef55a..503a690e 100644
--- a/src/devices/IPointer.hpp
+++ b/src/devices/IPointer.hpp
@@ -104,7 +104,6 @@ class IPointer : public IHID {
CSignal holdEnd;
} pointerEvents;
- std::string hlName;
bool connected = false; // means connected to the cursor
std::string boundOutput = "";
diff --git a/src/devices/ITouch.hpp b/src/devices/ITouch.hpp
index bf969b2f..766c0510 100644
--- a/src/devices/ITouch.hpp
+++ b/src/devices/ITouch.hpp
@@ -44,7 +44,6 @@ class ITouch : public IHID {
CSignal frame;
} touchEvents;
- std::string hlName = "";
std::string boundOutput = "";
WP<ITouch> self;
diff --git a/src/devices/Tablet.hpp b/src/devices/Tablet.hpp
index 01901721..4894ac8e 100644
--- a/src/devices/Tablet.hpp
+++ b/src/devices/Tablet.hpp
@@ -92,7 +92,6 @@ class CTablet : public IHID {
WP<CTablet> self;
bool relativeInput = false;
- std::string hlName = "";
std::string boundOutput = "";
CBox activeArea;
CBox boundBox; // output-local
@@ -154,8 +153,6 @@ class CTabletPad : public IHID {
WP<CTabletPad> self;
WP<CTabletTool> parent;
- std::string hlName;
-
private:
CTabletPad(SP<Aquamarine::ITabletPad> pad);
@@ -210,8 +207,6 @@ class CTabletTool : public IHID {
std::vector<uint32_t> buttonsDown;
Vector2D absolutePos; // last known absolute position.
- std::string hlName;
-
private:
CTabletTool(SP<Aquamarine::ITabletTool> tool);