diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-10-24 18:49:38 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-10-24 18:49:38 +0200 |
commit | 20a5eab89f11d3943ab667487599b749e85eb3aa (patch) | |
tree | 81e4f5f45f36c48508ee942570be7628b11d2d4e /res/keyboard/layout/common/latin | |
parent | whoops (diff) | |
download | mds-20a5eab89f11d3943ab667487599b749e85eb3aa.tar.gz mds-20a5eab89f11d3943ab667487599b749e85eb3aa.tar.bz2 mds-20a5eab89f11d3943ab667487599b749e85eb3aa.tar.xz |
kbd misc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'res/keyboard/layout/common/latin')
-rw-r--r-- | res/keyboard/layout/common/latin | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/res/keyboard/layout/common/latin b/res/keyboard/layout/common/latin index ff5d9cc..dc206e7 100644 --- a/res/keyboard/layout/common/latin +++ b/res/keyboard/layout/common/latin @@ -1,5 +1,29 @@ +function digit/1 + if \or(\equals(\1 0) \equals(\1 "0")) + "0" + else if \or(\equals(\1 1) \equals(\1 "1")) + "1" + else if \or(\equals(\1 2) \equals(\1 "2")) + "2" + else if \or(\equals(\1 3) \equals(\1 "3")) + "3" + else if \or(\equals(\1 4) \equals(\1 "4")) + "4" + else if \or(\equals(\1 5) \equals(\1 "5")) + "5" + else if \or(\equals(\1 6) \equals(\1 "6")) + "6" + else if \or(\equals(\1 7) \equals(\1 "7")) + "7" + else if \or(\equals(\1 8) \equals(\1 "8")) + "8" + else + "9" + end if +end function + for "0" to "9" as \1 - <letter \1> : "\1" + <letter \1> : "\digit(\1)" end for for "a" to "z" as \1 |