summaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorAlexandr Shadchin <shadchin@cvs.openbsd.org>2011-04-10 17:49:14 +0000
committerAlexandr Shadchin <shadchin@cvs.openbsd.org>2011-04-10 17:49:14 +0000
commit83a682ee239bf7bbc948fda1f2224096245272be (patch)
treec57d7480a4c1e810ac8d765c62bf4be2879e034f /dist
parent824eea06d7594409ea08ba40056b70c6f59130c5 (diff)
Add support for zaurus
ok matthieu@
Diffstat (limited to 'dist')
-rw-r--r--dist/xkeyboard-config/rules/base.ml_s.part1
-rw-r--r--dist/xkeyboard-config/symbols/zaurus69
2 files changed, 70 insertions, 0 deletions
diff --git a/dist/xkeyboard-config/rules/base.ml_s.part b/dist/xkeyboard-config/rules/base.ml_s.part
index 5d3b46d61..5e3dc02eb 100644
--- a/dist/xkeyboard-config/rules/base.ml_s.part
+++ b/dist/xkeyboard-config/rules/base.ml_s.part
@@ -37,5 +37,6 @@
olpc * = olpc+%l%(v)
$thinkpads br = pc+br(thinkpad)
htcdream $htcdreamlayouts = %l(htcdream)
+ zaurus * = pc+zaurus
* $nonlatin = pc+us+%l%(v):2
* * = pc+%l%(v)
diff --git a/dist/xkeyboard-config/symbols/zaurus b/dist/xkeyboard-config/symbols/zaurus
new file mode 100644
index 000000000..6a2021596
--- /dev/null
+++ b/dist/xkeyboard-config/symbols/zaurus
@@ -0,0 +1,69 @@
+default partial alphanumeric_keys modifier_keys
+xkb_symbols "basic" {
+ name[Group1]= "US/ASCII";
+
+ // Upper row
+ key <AE01> { [ 1, exclam ] };
+ key <AE02> { [ 2, quotedbl ] };
+ key <AE03> { [ 3, numbersign ] };
+ key <AE04> { [ 4, dollar ] };
+ key <AE05> { [ 5, percent ] };
+ key <AE06> { [ 6, ampersand ] };
+ key <AE07> { [ 7, quoteright ] };
+ key <AE08> { [ 8, parenleft ] };
+ key <AE09> { [ 9, parenright ] };
+ key <AE10> { [ 0, asciitilde ] };
+
+ key <AD01> { [ q, Q ] };
+ key <AD02> { [ w, W, asciicircum ] };
+ key <AD03> { [ e, E, equal ] };
+ key <AD04> { [ r, R, plus ] };
+ key <AD05> { [ t, T, bracketleft ] };
+ key <AD06> { [ y, Y, bracketright ] };
+ key <AD07> { [ u, U, braceleft ] };
+ key <AD08> { [ i, I, braceright ] };
+ key <AD09> { [ o, O ] };
+ key <AD10> { [ p, P ] };
+
+ key <TAB> { [ Tab, ISO_Left_Tab, Caps_Lock ] };
+
+ key <AC01> { [ a, A ] };
+ key <AC02> { [ s, S ] };
+ key <AC03> { [ d, D, quoteleft ] };
+ key <AC04> { [ f, F, backslash ] };
+ key <AC05> { [ g, G, semicolon ] };
+ key <AC06> { [ h, H, colon ] };
+ key <AC07> { [ j, J, asterisk ] };
+ key <AC08> { [ k, K, yen ] };
+ key <AC09> { [ l, L, bar ] };
+
+ key <LFSH> { [ Shift_L ] };
+ key <AB01> { [ z, Z ] };
+ key <AB02> { [ x, X, SunCut ] };
+ key <AB03> { [ c, C, SunCopy ] };
+ // XXX Removed SunPaste from line below
+ // because it triggers a bug in xterm translations.
+ key <AB04> { [ v, V ] };
+ key <AB05> { [ b, B, underscore ] };
+ key <AB06> { [ n, N ] };
+ key <AB07> { [ m, M ] };
+ key <RTSH> { [ Shift_R ] };
+ key <RTRN> { [ Return ] };
+
+ key <LCTL> { [ Control_L ] };
+ key <AE11> { [ minus, minus, at ] };
+ key <SPCE> { [ space ] };
+ key <AB08> { [ comma, slash, less ] };
+ key <AB09> { [ period, question, greater ] };
+ // End alphanumeric section
+
+ // keypad
+ key <UP> { [ Up, Up, Prior ] };
+ key <LEFT> { [ Left, Left, Home ] };
+ key <DOWN> { [ Down, Down, Next ] };
+ key <RGHT> { [ Right, Right, End ] };
+
+ key <ESC> { [ Escape ] };
+
+ include "level3(ralt_switch)"
+};