]> git.rmz.io Git - dotfiles.git/blobdiff - heliboard/numpad.json
heliboard: add android keyboard config
[dotfiles.git] / heliboard / numpad.json
diff --git a/heliboard/numpad.json b/heliboard/numpad.json
new file mode 100644 (file)
index 0000000..8055794
--- /dev/null
@@ -0,0 +1,50 @@
+[
+  [
+    { "label": "+", "type":  "function", "popup": {
+      "relevant": [
+        { "label": "(" },
+        { "label": "<" },
+        { "label": "±" }
+      ]
+    }, "labelFlags": 512 },
+    { "label": "1", "type": "numeric" },
+    { "label": "2", "type": "numeric" },
+    { "label": "3", "type": "numeric" },
+    { "label": "%", "type":  "function", "popup": { "main": { "label": "$$$"} }, "labelFlags": 512 }
+  ],
+  [
+    { "label": "-", "type":  "function", "popup": {
+      "relevant": [
+        { "label": ")" },
+        { "label": ">" },
+        { "label": "~" }
+      ]
+    }, "labelFlags": 512 },
+    { "label": "4", "type": "numeric" },
+    { "label": "5", "type": "numeric" },
+    { "label": "6", "type": "numeric" },
+    { "label": "space", "type":  "function" }
+  ],
+  [
+    { "label": "*", "type":  "function", "popup": {
+      "relevant": [
+        { "label": "/" },
+        { "label": "×" },
+        { "label": "÷" }
+      ]
+    }, "labelFlags": 512 },
+    { "label": "7", "type": "numeric" },
+    { "label": "8", "type": "numeric" },
+    { "label": "9", "type": "numeric" },
+    { "label": "delete" }
+  ],
+  [
+    { "label": "alpha", "width": 0.15 },
+    { "label": "comma", "width":  0.1 },
+    { "label": "symbol", "width":  0.12 },
+    { "label": "0", "type": "numeric", "width": -1 },
+    { "label": "=", "type": "function", "width":  0.12, "popup": { "relevant": [ { "label": "≠"}, { "label": "≈"} ] } },
+    { "label": "period", "width":  0.1 },
+    { "label": "action", "width": 0.15 }
+  ]
+]