WIP uhk80 X11 layout

This commit is contained in:
2025-04-08 13:50:02 +03:00
parent 0980c1f7b4
commit 3bab0b4564
4 changed files with 36 additions and 0 deletions

View File

@@ -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...

View 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
View 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)" };
};

View 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 ]};
};