Add input:touchdevice:td_rotation config
Add support for touch device roation. The rotation is set globally with `input:touchdevice:td_rotation config` and by device with `td_rotation` in a device block.
This commit is contained in:
parent
fe4a97f245
commit
32ae0c51f0
5 changed files with 59 additions and 0 deletions
|
|
@ -562,6 +562,7 @@ std::string dispatchKeyword(std::string in) {
|
|||
if (COMMAND.contains("input") || COMMAND.contains("device:")) {
|
||||
g_pInputManager->setKeyboardLayout(); // update kb layout
|
||||
g_pInputManager->setPointerConfigs(); // update mouse cfgs
|
||||
g_pInputManager->setTouchDeviceConfigs(); // update touch device cfgs
|
||||
}
|
||||
|
||||
if (COMMAND.contains("general:layout"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue