xkb-layout-ducky-mini/ducky-mini

75 lines
2.2 KiB
Plaintext
Raw Permalink Normal View History

default partial alphanumeric_keys modifier_keys
xkb_symbols "us" {
name[Group1]="English (US, with a layout mimicking the Ducky Mini)";
include "us(basic)"
include "ducky-mini(common)"
# Numbers row
key <TLDE> { [ Escape, asciitilde, grave ] };
key <AE02> { [ 2, at, F2 ] };
key <AE03> { [ 3, numbersign, F3 ] };
key <AE04> { [ 4, dollar, F4 ] };
key <AE06> { [ 6, asciicircum, F6 ] };
key <AE07> { [ 7, ampersand, F7 ] };
# Navigational keys
key <AD10> { [ p, P, Up ] };
key <AC09> { [ l, L, Left ] };
key <AC10> { [ semicolon, colon, Down ] };
key <AC11> { [ apostrophe, quotedbl, Right ] };
key <AC08> { [ k, K, Prior ] };
key <AB08> { [ comma, less, Next ] };
key <AB09> { [ period, greater, Home ] };
key <AB10> { [ slash, question, End ] };
# Insert
key <BKSL> { [ backslash, bar, Insert ] };
};
partial alphanumeric_keys
xkb_symbols "ru" {
name[Group1]= "Russian (RU, with a layout mimicking the Ducky Mini)";
include "ru(winkeys)"
include "ducky-mini(common)"
# Number row
key <TLDE> { [ Escape, Cyrillic_IO, Cyrillic_io ] };
key <AE02> { [ 2, quotedbl, F2 ] };
key <AE03> { [ 3, numerosign, F3 ] };
key <AE04> { [ 4, semicolon, F4 ] };
key <AE06> { [ 6, colon, F6 ] };
key <AE07> { [ 7, question, F7 ] };
# Navigational keys
key <AD10> { [ Cyrillic_ze, Cyrillic_ZE, Up ] };
key <AC09> { [ Cyrillic_de, Cyrillic_DE, Left ] };
key <AC10> { [ Cyrillic_zhe, Cyrillic_ZHE, Down ] };
key <AC11> { [ Cyrillic_e, Cyrillic_E, Right ] };
key <AC08> { [ Cyrillic_el, Cyrillic_EL, Prior ] };
key <AB08> { [ Cyrillic_be, Cyrillic_BE, Next ] };
key <AB09> { [ Cyrillic_yu, Cyrillic_YU, Home ] };
key <AB10> { [ period, comma, End ] };
# Insert
key <BKSL> { [ backslash, slash, Insert ] };
};
hidden partial alphanumeric_keys
xkb_symbols "common" {
name[Group1]= "Common (layout mimicking the Ducky Mini)";
# Number row
key <AE01> { [ 1, exclam, F1 ] };
key <AE05> { [ 5, percent, F5 ] };
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 ] };
# Delete
key <BKSP> { [ BackSpace, BackSpace, Delete ] };
};