aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--res/keyboard/layout/common/base12
-rw-r--r--res/keyboard/layout/es/latin_american_dvorak12
-rw-r--r--res/keyboard/layout/fi/colemak_classic2
-rw-r--r--res/keyboard/layout/fi/qwerty_classic2
-rw-r--r--src/mds-kbdc/compile-layout.c1
5 files changed, 21 insertions, 8 deletions
diff --git a/res/keyboard/layout/common/base b/res/keyboard/layout/common/base
index 40bca3a..eb78fd1 100644
--- a/res/keyboard/layout/common/base
+++ b/res/keyboard/layout/common/base
@@ -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
+
include "control_keys"
include "keypad"
include "../../compose/dead"
diff --git a/res/keyboard/layout/es/latin_american_dvorak b/res/keyboard/layout/es/latin_american_dvorak
index ff839d7..ec8c672 100644
--- a/res/keyboard/layout/es/latin_american_dvorak
+++ b/res/keyboard/layout/es/latin_american_dvorak
@@ -143,12 +143,12 @@ nocaps("r" "®" "™")
caps("t" "þ" "Þ")
caps("n" "ŋ" "Ŋ")
nocaps("s" "ß" "§")
-<letter {"> : "{"
-<shift letter {"> : "["
-<altgr letter {"> : <dead letter `>
-<altgr shift letter {"> : <dead letter ¨>
-<letter }"> : "}"
-<shift letter }"> : "]"
+<letter \{> : "{"
+<shift letter \{> : "["
+<altgr letter \{> : <dead letter `>
+<altgr shift letter \{> : <dead letter ¨>
+<letter \}> : "}"
+<shift letter \}> : "]"
caps("}" "ç" "Ç")
diff --git a/res/keyboard/layout/fi/colemak_classic b/res/keyboard/layout/fi/colemak_classic
index 26b29d7..5d80a9f 100644
--- a/res/keyboard/layout/fi/colemak_classic
+++ b/res/keyboard/layout/fi/colemak_classic
@@ -122,7 +122,7 @@ key("<" ">" "|" "¦")
<altgr "T"> : "Þ"
<altgr letter y> : "←"
-<altgr shift letter y> : →"
+<altgr shift letter y> : "→"
<altgr letter u> : "↓"
<altgr shift letter u> : "↑"
diff --git a/res/keyboard/layout/fi/qwerty_classic b/res/keyboard/layout/fi/qwerty_classic
index 295e32f..65b497b 100644
--- a/res/keyboard/layout/fi/qwerty_classic
+++ b/res/keyboard/layout/fi/qwerty_classic
@@ -144,7 +144,7 @@ key("<" ">" "|" "¦")
<altgr "A"> : "Ə"
<altgr "s"> : "š"
-<altgr "S"> : "Š
+<altgr "S"> : "Š"
<altgr "d"> : "ð"
<altgr "D"> : "Ð"
diff --git a/src/mds-kbdc/compile-layout.c b/src/mds-kbdc/compile-layout.c
index f8202a6..32acf80 100644
--- a/src/mds-kbdc/compile-layout.c
+++ b/src/mds-kbdc/compile-layout.c
@@ -18,6 +18,7 @@
#include "compile-layout.h"
/* TODO add call stack */
/* XXX fix so that for-loops do not generate the same errors/warnings in all iterations [loopy_error]. */
+/* XXX add pragma support */
#include "include-stack.h"
#include "builtin-functions.h"