aboutsummaryrefslogtreecommitdiffstats
path: root/DemoApplication/Page3Form.qml
diff options
context:
space:
mode:
Diffstat (limited to 'DemoApplication/Page3Form.qml')
-rw-r--r--DemoApplication/Page3Form.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/DemoApplication/Page3Form.qml b/DemoApplication/Page3Form.qml
index df06bee..f7d65e8 100644
--- a/DemoApplication/Page3Form.qml
+++ b/DemoApplication/Page3Form.qml
@@ -58,6 +58,13 @@ Item {
anchors.fill: parent
CursorNavigation.escapeTarget: defaultButton
+ //redefine the controls for this scope
+ //(default arrow keys will still work as well, unless reassigned here)
+ Keys.onDigit5Pressed: CursorNavigation.moveUp()
+ Keys.onDigit2Pressed: CursorNavigation.moveDown()
+ Keys.onDigit3Pressed: CursorNavigation.moveRight()
+ Keys.onDigit1Pressed: CursorNavigation.moveLeft()
+
Grid {
spacing: 5
columns: 2