Restore the option for relative touch mode

This commit is contained in:
Cameron Gutman
2020-04-30 20:55:15 -07:00
parent c2c2bd2df6
commit 0c9d72a9a1
8 changed files with 261 additions and 17 deletions

View File

@@ -596,6 +596,22 @@ Flickable {
You can toggle this while streaming using Ctrl+Alt+Shift+M."
}
CheckBox {
id: absoluteTouchCheck
hoverEnabled: true
text: "Use touchscreen as a trackpad"
font.pointSize: 12
checked: !StreamingPreferences.absoluteTouchMode
onCheckedChanged: {
StreamingPreferences.absoluteTouchMode = !checked
}
ToolTip.delay: 1000
ToolTip.timeout: 5000
ToolTip.visible: hovered
ToolTip.text: "When checked, the touchscreen acts like a trackpad. When unchecked, the touchscreen will directly control the mouse pointer."
}
CheckBox {
id: gamepadMouseCheck
hoverEnabled: true