From 271510ab29ddbabeb46e00e1efff0d829ee58b08 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 17 Aug 2014 14:55:02 +0200 Subject: add some common keyboard layout data MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- res/keyboard/layout/common/base | 4 ++ res/keyboard/layout/common/caps_is_ctrl | 3 ++ res/keyboard/layout/common/control | 37 +++++++++++++++ res/keyboard/layout/common/control_keys | 84 +++++++++++++++++++++++++++++++++ res/keyboard/layout/common/keypad | 72 ++++++++++++++++++++++++++++ res/keyboard/layout/common/latin | 12 +++++ 6 files changed, 212 insertions(+) create mode 100644 res/keyboard/layout/common/base create mode 100644 res/keyboard/layout/common/caps_is_ctrl create mode 100644 res/keyboard/layout/common/control create mode 100644 res/keyboard/layout/common/control_keys create mode 100644 res/keyboard/layout/common/keypad create mode 100644 res/keyboard/layout/common/latin (limited to 'res') diff --git a/res/keyboard/layout/common/base b/res/keyboard/layout/common/base new file mode 100644 index 0000000..07f03e6 --- /dev/null +++ b/res/keyboard/layout/common/base @@ -0,0 +1,4 @@ +include "control_keys" +include "keypad" +include "control" + diff --git a/res/keyboard/layout/common/caps_is_ctrl b/res/keyboard/layout/common/caps_is_ctrl new file mode 100644 index 0000000..e73032e --- /dev/null +++ b/res/keyboard/layout/common/caps_is_ctrl @@ -0,0 +1,3 @@ + : + : + diff --git a/res/keyboard/layout/common/control b/res/keyboard/layout/common/control new file mode 100644 index 0000000..9c4da58 --- /dev/null +++ b/res/keyboard/layout/common/control @@ -0,0 +1,37 @@ + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + diff --git a/res/keyboard/layout/common/control_keys b/res/keyboard/layout/common/control_keys new file mode 100644 index 0000000..152c3b5 --- /dev/null +++ b/res/keyboard/layout/common/control_keys @@ -0,0 +1,84 @@ + : + + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + : + + : + : + : + + : + : " " + : + : + : + : + : <-altgr ultra> + : + : + : + : + : + : + : + : + : + + : + : + : + : + : + : + + : + : + : + : + : "↑" + : "←" + : "→" + : "↓" + : "⇑" + : "⇐" + : "⇒" + : "⇓" + + : + : + + : + : + : + : + : + : + : + : + : + : + : + : + diff --git a/res/keyboard/layout/common/keypad b/res/keyboard/layout/common/keypad new file mode 100644 index 0000000..524bbd4 --- /dev/null +++ b/res/keyboard/layout/common/keypad @@ -0,0 +1,72 @@ + : "7" + : "8" + : "9" + : "4" + : "5" + : "6" + : "1" + : "2" + : "3" + : "0" + : "\comma()" + + : + : + : + : + : + : + : + : + : + : + : + + : "7" + : "8" + : "9" + : "4" + : "5" + : "6" + : "1" + : "2" + : "3" + : "0" + : "\comma()" + + : "↖" + : "↑" + : "↗" + : "←" + : "↔" + : "→" + : "↙" + : "↓" + : "↘" + : "↕" + : "\altcomma()" + + : "⇖" + : "⇑" + : "⇗" + : "⇐" + : "⇔" + : "⇒" + : "⇙" + : "⇓" + : "⇘" + : "⇕" + : " " + +macro mod_keycode/5 + : "\2" + : "\3" + : "\4" + : "\5" +end macro + +mod_keycode(98 "∕" "⋅" "−" "+") +mod_keycode(55 "∕" "⋅" "−" "+") +mod_keycode(74 "/" "*" "-" "+") +mod_keycode(78 "÷" "×" "−" "+") + diff --git a/res/keyboard/layout/common/latin b/res/keyboard/layout/common/latin new file mode 100644 index 0000000..ff5d9cc --- /dev/null +++ b/res/keyboard/layout/common/latin @@ -0,0 +1,12 @@ +for "0" to "9" as \1 + : "\1" +end for + +for "a" to "z" as \1 + let \2 : "\sub(\1 \sub("a" "A"))" + : "\1" + : "\2" + : "\2" + : "\1" +end for + -- cgit v1.2.3-70-g09d2