Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/osk/test.h_layout
diff options
context:
space:
mode:
Diffstat (limited to 'osk/test.h_layout')
-rw-r--r--osk/test.h_layout59
1 files changed, 59 insertions, 0 deletions
diff --git a/osk/test.h_layout b/osk/test.h_layout
new file mode 100644
index 0000000..cd9cfc8
--- /dev/null
+++ b/osk/test.h_layout
@@ -0,0 +1,59 @@
+# Derived from the output of xmodmap -pk with the keyboard set to
+# US intl altgr plus dead keys and some editing.
+
+# Adapted to the use in Tuxpaint, to roughly follow the layout
+# of my computer. No functions keys, no esc key,
+# no menu or windows keys, no multimedia keys and so on.
+
+# keycodes up to 8 are reserved for internal use, like
+# 0 empty button
+# 1 next layout
+# 2 previous layout
+
+# ABC layout of 15 buttons wide and 5 rows height
+
+WIDTH 25
+HEIGHT 1
+#FONTPATH default_font.ttf
+
+
+# For the purpose of osk should be:
+# KEY keycode width label_plain label_top label_altgr shiftcaps
+# shiftcaps means if the value of the key should be shifted if capslock is active
+#
+
+
+
+# Arrow to left will change to the previous keyboard
+# Disabled for now...
+KEY 2 1.5 <-- NULL NULL NULL 0
+KEY 0 2.0 NULL NULL NULL 0
+
+KEY 10 1.0 1 ! ¡ 0
+KEY 11 1.0 2 @ ² 0
+KEY 12 1.0 3 # · 0
+KEY 13 1.0 4 $ ¤ 0
+KEY 14 1.0 5 % € 0
+KEY 15 1.0 6 ^ ¼ 0
+KEY 16 1.0 7 & ½ 0
+KEY 17 1.0 8 * ¾ 0
+KEY 18 1.0 9 ( ‘ 0
+KEY 19 1.0 0 ) ’ 0
+KEY 0 1.0 NULL NULL NULL 0
+
+KEY 20 1.0 - _ ¥ 0
+KEY 21 1.0 = + × 0
+KEY 0 2.0 NULL NULL NULL 0
+
+
+
+
+KEY 22 2.0 Back NULL NULL 0
+
+
+
+# Return
+KEY 36 2.0 Enter NULL NULL 0
+
+KEY 1 1.5 --> NULL NULL NULL 0
+