WIP uhk80 X11 layout
This commit is contained in:
@@ -9,3 +9,6 @@ Copy the contents to =~/.config/xkb=.
|
|||||||
|
|
||||||
And to run it every time your window manager starts, add it to
|
And to run it every time your window manager starts, add it to
|
||||||
~.xinitrc~, or just to your WM of choise default autostart mechanism.
|
~.xinitrc~, or just to your WM of choise default autostart mechanism.
|
||||||
|
|
||||||
|
* Keymap for UHK80
|
||||||
|
In progress...
|
||||||
|
|||||||
5
xkb_config/keycodes/uhk80
Normal file
5
xkb_config/keycodes/uhk80
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
default xkb_keycodes "uhk80" {
|
||||||
|
<CHLY> = 97; // change layout
|
||||||
|
<KANJ> = 101; // ja/lat input
|
||||||
|
<ISOK> = 94; // iso key
|
||||||
|
};
|
||||||
7
xkb_config/keymap/uhk80
Normal file
7
xkb_config/keymap/uhk80
Normal file
@@ -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)" };
|
||||||
|
};
|
||||||
21
xkb_config/symbols/grp_toggle
Normal file
21
xkb_config/symbols/grp_toggle
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
default partial modifier_keys alphanumeric_keys
|
||||||
|
xkb_symbols "uhk80" {
|
||||||
|
key <RALT> {[ ISO_Level3_Shift ], type[group1]="ONE_LEVEL" };
|
||||||
|
key <CHLY> {[ ISO_Next_Group ]};
|
||||||
|
key <KANJ> {[ Zenkaku_Hankaku ]};
|
||||||
|
|
||||||
|
// fist row
|
||||||
|
key <ISOK> {[ section, U2206, U22C4, because ]};
|
||||||
|
key <AE01> {[ 1, exclam, exclamdown, U2044 ]};
|
||||||
|
key <AE02> {[ 2, at, trademark, EuroSign ]};
|
||||||
|
key <AE03> {[ 3, numbersign, sterling, U2039 ]};
|
||||||
|
key <AE04> {[ 4, dollar, cent, U203A ]};
|
||||||
|
key <AE05> {[ 5, percent, infinity, periodcentered ]};
|
||||||
|
key <AE06> {[ 6, asciicircum, currency, uptack ]};
|
||||||
|
key <AE07> {[ 7, ampersand, paragraph, doubledagger ]};
|
||||||
|
key <AE08> {[ 8, asterisk, enfilledcircbullet, degree ]};
|
||||||
|
key <AE09> {[ 9, parenleft, U2023, leftdoublequotemark ]};
|
||||||
|
key <AE10> {[ 0, parenright, emptyset, rightdoublequotemark ]};
|
||||||
|
key <AE11> {[ minus, underscore, endash, emdash ]};
|
||||||
|
key <AE12> {[ equal, plus, approxeq, plusminus ]};
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user