First pass at numbers on computer keyboard
[ejpi] / src / plugins / computer.py
index 5edd77e..8723774 100644 (file)
@@ -17,25 +17,34 @@ _MAP = {
        "name": _NAME,
        "keys": {
                (0, 0): {
-                       "CENTER": {"action": "[//]", "type": "text", "text": "//", },
+                       "CENTER": {"action": "[//]", "type": "text", "text": "x // y", },
+                       "SOUTH": {"action": "1", "type": "text", "text": "1", },
+                       "SOUTH_EAST": {"action": "2", "type": "text", "text": "2", },
+                       "EAST": {"action": "3", "type": "text", "text": "3", },
                        "showAllSlices": False,
                },
                (0, 1): {
-                       "CENTER": {"action": "[dec]", "type": "text", "text": "dec", },
+                       "CENTER": {"action": "[dec]", "type": "text", "text": "-> dec", },
+                       "SOUTH_WEST": {"action": "4", "type": "text", "text": "4", },
+                       "SOUTH": {"action": "5", "type": "text", "text": "5", },
+                       "SOUTH_EAST": {"action": "6", "type": "text", "text": "6", },
                        "showAllSlices": True,
                },
                (0, 2): {
-                       "CENTER": {"action": "[%]", "type": "text", "text": "%", },
+                       "CENTER": {"action": "[%]", "type": "text", "text": "x % y", },
+                       "WEST": {"action": "7", "type": "text", "text": "7", },
+                       "SOUTH_WEST": {"action": "8", "type": "text", "text": "8", },
+                       "SOUTH": {"action": "9", "type": "text", "text": "9", },
                        "showAllSlices": False,
                },
                (1, 0): {
                        "CENTER": {"action": "0o", "type": "text", "text": "0o", },
-                       "SOUTH": {"action": "[oct]", "type": "text", "text": "oct", },
+                       "SOUTH": {"action": "[oct]", "type": "text", "text": "-> oct", },
                        "showAllSlices": True,
                },
                (1, 1): {
                        "CENTER": {"action": "0x", "type": "text", "text": "0x", },
-                       "SOUTH": {"action": "[hex]", "type": "text", "text": "hex", },
+                       "SOUTH": {"action": "[hex]", "type": "text", "text": "-> hex", },
                        "NORTH_WEST": {"action": "a", "type": "text", "text": "A", },
                        "WEST": {"action": "b", "type": "text", "text": "B", },
                        "SOUTH_WEST": {"action": "c", "type": "text", "text": "C", },