summaryrefslogtreecommitdiff
path: root/src/config/ConfigDescriptions.hpp
diff options
context:
space:
mode:
authornyx <nnyyxxxx@protonmail.com>2025-03-03 15:56:01 -0500
committerGitHub <noreply@github.com>2025-03-03 21:56:01 +0100
commitd7e7a292613a4f20218074ff8299dff099a80098 (patch)
treecf57d20dfa11d2502115699a7bb36250c813adfc /src/config/ConfigDescriptions.hpp
parentf1ef724a87b29a7937cfc328e0c7ea9445a90050 (diff)
input: add flip_x and flip_y for touchpad (#9481)
Diffstat (limited to 'src/config/ConfigDescriptions.hpp')
-rw-r--r--src/config/ConfigDescriptions.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/config/ConfigDescriptions.hpp b/src/config/ConfigDescriptions.hpp
index 842df3ef..7ed0d03c 100644
--- a/src/config/ConfigDescriptions.hpp
+++ b/src/config/ConfigDescriptions.hpp
@@ -608,6 +608,18 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
.type = CONFIG_OPTION_BOOL,
.data = SConfigOptionDescription::SBoolData{false},
},
+ SConfigOptionDescription{
+ .value = "input:touchpad:flip_x",
+ .description = "Inverts the horizontal movement of the touchpad",
+ .type = CONFIG_OPTION_BOOL,
+ .data = SConfigOptionDescription::SBoolData{false},
+ },
+ SConfigOptionDescription{
+ .value = "input:touchpad:flip_y",
+ .description = "Inverts the vertical movement of the touchpad",
+ .type = CONFIG_OPTION_BOOL,
+ .data = SConfigOptionDescription::SBoolData{false},
+ },
/*
* input:touchdevice: