diff --git a/xkb_config/README.org b/xkb_config/README.org index ca705ba..ef93ade 100644 --- a/xkb_config/README.org +++ b/xkb_config/README.org @@ -9,3 +9,6 @@ Copy the contents to =~/.config/xkb=. And to run it every time your window manager starts, add it to ~.xinitrc~, or just to your WM of choise default autostart mechanism. + +* Keymap for UHK80 +In progress... diff --git a/xkb_config/keycodes/uhk80 b/xkb_config/keycodes/uhk80 new file mode 100644 index 0000000..433f97d --- /dev/null +++ b/xkb_config/keycodes/uhk80 @@ -0,0 +1,5 @@ +default xkb_keycodes "uhk80" { + = 97; // change layout + = 101; // ja/lat input + = 94; // iso key +}; diff --git a/xkb_config/keymap/uhk80 b/xkb_config/keymap/uhk80 new file mode 100644 index 0000000..900652e --- /dev/null +++ b/xkb_config/keymap/uhk80 @@ -0,0 +1,7 @@ +xkb_keymap { + xkb_keycodes { include "evdev+aliases(qwerty)+uhk80" }; + xkb_types { include "complete" }; + xkb_compat { include "complete" }; + xkb_symbols { include "pc+us+ru:2+inet(evdev)+grp_toggle" }; + xkb_geometry { include "pc(pc105)" }; +}; diff --git a/xkb_config/symbols/grp_toggle b/xkb_config/symbols/grp_toggle new file mode 100644 index 0000000..b06e960 --- /dev/null +++ b/xkb_config/symbols/grp_toggle @@ -0,0 +1,21 @@ +default partial modifier_keys alphanumeric_keys +xkb_symbols "uhk80" { + key {[ ISO_Level3_Shift ], type[group1]="ONE_LEVEL" }; + key {[ ISO_Next_Group ]}; + key {[ Zenkaku_Hankaku ]}; + + // fist row + key {[ section, U2206, U22C4, because ]}; + key {[ 1, exclam, exclamdown, U2044 ]}; + key {[ 2, at, trademark, EuroSign ]}; + key {[ 3, numbersign, sterling, U2039 ]}; + key {[ 4, dollar, cent, U203A ]}; + key {[ 5, percent, infinity, periodcentered ]}; + key {[ 6, asciicircum, currency, uptack ]}; + key {[ 7, ampersand, paragraph, doubledagger ]}; + key {[ 8, asterisk, enfilledcircbullet, degree ]}; + key {[ 9, parenleft, U2023, leftdoublequotemark ]}; + key {[ 0, parenright, emptyset, rightdoublequotemark ]}; + key {[ minus, underscore, endash, emdash ]}; + key {[ equal, plus, approxeq, plusminus ]}; +}; \ No newline at end of file