input: add option to rotate device input (#11947)
This commit is contained in:
parent
da31e82aab
commit
6a01c399a9
3 changed files with 13 additions and 0 deletions
|
|
@ -478,6 +478,12 @@ inline static const std::vector<SConfigOptionDescription> CONFIG_OPTIONS = {
|
|||
.type = CONFIG_OPTION_BOOL,
|
||||
.data = SConfigOptionDescription::SBoolData{false},
|
||||
},
|
||||
SConfigOptionDescription{
|
||||
.value = "input:rotation",
|
||||
.description = "Sets the rotation of a device in degrees clockwise off the logical neutral position. Value is clamped to the range 0 to 359.",
|
||||
.type = CONFIG_OPTION_INT,
|
||||
.data = SConfigOptionDescription::SRangeData{0, 0, 359},
|
||||
},
|
||||
SConfigOptionDescription{
|
||||
.value = "input:left_handed",
|
||||
.description = "Switches RMB and LMB",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue