Explorar o código

Brought back space key mapping

Ilia Ablamonov %!s(int64=9) %!d(string=hai) anos
pai
achega
a7ec0ba855
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      resources/inputmaps/keyboard.json

+ 2 - 1
resources/inputmaps/keyboard.json

@@ -17,8 +17,9 @@
     // map X and Shift+X to X. This allows normal number input
     "(?:Shift\\+)?([0-9])": "%1",
 
-    // map X and Shift+X to X for letters. This allows normal text input
+    // map X and Shift+X to X for letters, space to space. This allows normal text input
     "(?:Shift\\+)?([A-Z])": "%1",
+    "Space": "space",
 
     // map some other normal buttons that might be useful
     "(?:Shift\\+)?(\\.|\\:|\\_)": "%1",