input: add flip_x and flip_y for touchpad (#9481)

This commit is contained in:
nyx 2025-03-03 15:56:01 -05:00 committed by GitHub
parent f1ef724a87
commit d7e7a29261
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 50 additions and 8 deletions

View file

@ -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: