Only allow a single pointer role per module. Extend the data model later if needed.

This commit is contained in:
László Monda
2016-04-10 23:10:34 +02:00
parent 714f24429c
commit 4fb88e9e7c
+3 -9
View File
@@ -23,9 +23,7 @@
"modules": [ "modules": [
{ {
"id": 0, "id": 0,
"pointerRoles": [ "pointerRole": "move",
"move"
],
"keyActions": [ "keyActions": [
{ {
"keyActionType": "none" "keyActionType": "none"
@@ -69,16 +67,12 @@
}, },
{ {
"id": 1, "id": 1,
"pointerRoles": [ "pointerRole": "scroll",
"scroll"
],
"keyActions": [] "keyActions": []
}, },
{ {
"id": 2, "id": 2,
"pointerRoles": [ "pointerRole": "move",
"move"
],
"keyActions": [] "keyActions": []
} }
] ]