Add XKB keymap
At this point, everything is pretty much perfect!
This commit is contained in:
parent
0b632248a7
commit
3d4b9ff97e
@ -13,6 +13,10 @@ set $menu bemenu-run
|
||||
output * bg ~/.local/share/backgrounds/pocketchip.png fill
|
||||
|
||||
# Input settings
|
||||
input "1:1:tca8418" {
|
||||
xkb_layout "pocketchip"
|
||||
xkb_options "lv3:ralt_switch_multikey"
|
||||
}
|
||||
input "1:1:1c25000.rtp" {
|
||||
map_to_region 0 0 480 272
|
||||
calibration_matrix -1.063517 0 1.032310 0 -1.214286 1.075894
|
||||
|
32
.xkb/symbols/pocketchip
Normal file
32
.xkb/symbols/pocketchip
Normal file
@ -0,0 +1,32 @@
|
||||
partial alphanumeric_keys
|
||||
xkb_symbols "pocketchip"
|
||||
{
|
||||
include "us"
|
||||
name[Group1]= "PocketCHIP keys";
|
||||
key <AB10> { [ slash, question, backslash ] };
|
||||
key <AB05> { [ b, B, grave ] };
|
||||
key <AB06> { [ n, N, asciitilde ] };
|
||||
key <AB07> { [ m, M, colon ] };
|
||||
key <AB09> { [ period, comma, semicolon ] };
|
||||
key <AC06> { [ h, H, less ] };
|
||||
key <AC07> { [ j, J, greater ] };
|
||||
key <AC08> { [ k, K, apostrophe ] };
|
||||
key <AC09> { [ l, L, quotedbl ] };
|
||||
key <AD06> { [ y, Y, braceleft ] };
|
||||
key <AD07> { [ u, U, braceright ] };
|
||||
key <AD08> { [ i, I, bracketleft ] };
|
||||
key <AD09> { [ o, O, bracketright ] };
|
||||
key <AD10> { [ p, P, bar ] };
|
||||
key <AE01> { [ 1, exclam, F1 ] };
|
||||
key <AE02> { [ 2, at, F2 ] };
|
||||
key <AE03> { [ 3, numbersign, F3 ] };
|
||||
key <AE04> { [ 4, dollar, F4 ] };
|
||||
key <AE05> { [ 5, percent, F5 ] };
|
||||
key <AE06> { [ 6, asciicircum, F6 ] };
|
||||
key <AE07> { [ 7, ampersand, F7 ] };
|
||||
key <AE08> { [ 8, asterisk, F8 ] };
|
||||
key <AE09> { [ 9, parenleft, F9 ] };
|
||||
key <AE10> { [ 0, parenright, F10 ] };
|
||||
key <AE11> { [ minus, underscore, F11 ] };
|
||||
key <AE12> { [ equal, plus, F12 ] };
|
||||
};
|
Loading…
Reference in New Issue
Block a user