From d7e7a292613a4f20218074ff8299dff099a80098 Mon Sep 17 00:00:00 2001 From: nyx Date: Mon, 3 Mar 2025 15:56:01 -0500 Subject: input: add flip_x and flip_y for touchpad (#9481) --- src/config/ConfigDescriptions.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/config/ConfigDescriptions.hpp') 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 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: -- cgit v1.2.3