aboutsummaryrefslogtreecommitdiffstats
path: root/res/keyboard/layout/common
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--res/keyboard/layout/common/keypad12
1 files changed, 12 insertions, 0 deletions
diff --git a/res/keyboard/layout/common/keypad b/res/keyboard/layout/common/keypad
index b4f1b2a..61fa74e 100644
--- a/res/keyboard/layout/common/keypad
+++ b/res/keyboard/layout/common/keypad
@@ -1,3 +1,15 @@
+assumption
+ function digit/1
+ \add(\1 "0")
+ end function
+ function comma/0
+ ","
+ end function
+ function altcomma/0
+ "."
+ end function
+end assumption
+
<num keypad home> : "\digit(7)"
<num keypad up> : "\digit(8)"
<num keypad pgup> : "\digit(9)"