3 // XKB geometry for the Happy Hacking Keyboard (Lite).
4 // Different variants correspond to different switch
5 // settings on the HHK.
7 // Copyright (c) Doug Palmer <doug@charvolant.org>, 2002
9 // Permission is granted to anyone to use this document for any purpose,
10 // including commercial use, and to alter it and redistribute it
11 // freely, subject to the following restrictions:
13 // (i) Altered versions must be clearly marked as such.
15 // (ii) This notice may not be removed or altered.
18 // SW = 100 Default layout with windows keys
19 default xkb_geometry "win1" {
39 // SW = 101 Layout with windows and alt keys swapped
60 // SW = 110 Default layout with windows keys, and left diamond = Fn key
81 // SW = 101 Layout with windows and alt keys swapped and left-Alt = Fn key
102 // SW = 000 Layout with Muhenkan and Henkan keys
123 // SW = 001 Layout with Muhenkan and Henkan keys swapped with Alt keys
144 // SW = 010 Layout with Henkan key and left-diamond as Fn
165 // SW = 001 Layout with Henkan key swapped with Alt keys and left-Alt as Fn
186 // Basic layout for non-swictchable keys
187 partial hidden xkb_geometry "basic" {
189 description = "Happy Hacking Keyboard";
193 shape.cornerRadius = 1;
194 shape "NORM" { { [18, 18] }, { [2, 1], [14, 14] } };
195 shape "BKSP" { { [28, 18] }, { [2, 1], [24, 14] } };
196 shape "TABK" { { [28, 18] }, { [2, 1], [24, 14] } };
197 shape "CTRL" { { [32, 18] }, { [2, 1], [28, 14] } };
198 shape "RTRN" { { [42, 18] }, { [2, 1], [38, 14] } };
199 shape "LFSH" { { [42, 18] }, { [2, 1], [38, 14] } };
200 shape "RTSH" { { [32, 18] }, { [2, 1], [28, 14] } };
201 shape "DIAM" { { [28, 18] }, { [2, 1], [24, 14] } };
202 shape "SPCE" { { [114, 18] }, { [2, 1], [110, 14] } };
204 text.color = "black";
205 text "PFULabel" { left = 16; top = 2; fontsize = 20; text = "PFU"; };
206 text "HHKLabel" { left = 254; top = 90; text = "Happy Hacking\nKeyboard"; };
213 section "Alphanumeric" {
219 <AE01>, <AE02>, <AE03>, <AE04>, <AE05>,
220 <AE06>, <AE07>, <AE08>, <AE09>, <AE10>,
229 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>,
230 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>,
239 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>,
240 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>,
249 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>,
250 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>,
252 { <FN>, color = "grey20" }
257 alias <AC00> = <LCTL>;