From de067b90dc7ab50f30ec240e6c19acb85e3647af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Sun, 9 Aug 2020 13:03:02 +0200 Subject: my keyboard layout --- .config/xkb/keymap.xkb | 7 +++++ .config/xkb/symbols/oscar | 73 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 .config/xkb/keymap.xkb create mode 100644 .config/xkb/symbols/oscar (limited to '.config/xkb') diff --git a/.config/xkb/keymap.xkb b/.config/xkb/keymap.xkb new file mode 100644 index 0000000..cb2bd6c --- /dev/null +++ b/.config/xkb/keymap.xkb @@ -0,0 +1,7 @@ +xkb_keymap { + xkb_keycodes { include "evdev+aliases(qwerty)" }; + xkb_types { include "complete" }; + xkb_compat { include "complete" }; + xkb_symbols { include "pc+oscar+inet(evdev)+capslock(escape)" }; + xkb_geometry { include "pc(pc105)" }; +}; diff --git a/.config/xkb/symbols/oscar b/.config/xkb/symbols/oscar new file mode 100644 index 0000000..b0c0f87 --- /dev/null +++ b/.config/xkb/symbols/oscar @@ -0,0 +1,73 @@ +default partial alphanumeric_keys modifier_keys +xkb_symbols "oscar" { + + name[Group1]= "Spanish (Dvorak Programer us_es oscar)"; + + // Unmodified Shift AltGr Shift+AltGr + // symbols row, left side + key { [ dollar, percent ] }; + key { [ ampersand, 9 ] }; + key { [ bracketleft, 7 ] }; + key { [ braceleft, 5 ] }; + key { [ parenleft, 3 ] }; + key { [ asterisk, 1 ] }; + + // symbols row, right side + key { [ equal, 0 ] }; + key { [ parenright, 2 ] }; + key { [ braceright, 4 ] }; + key { [ bracketright, 6 ] }; + key { [ plus, 8, underscore] }; + key { [ minus, exclam, exclamdown] }; + + key { [ numbersign, at ] }; + key { [ BackSpace, BackSpace ] }; + + + key { [ apostrophe, quotedbl, grave, asciicircum ] }; + key { [ period, colon, less, guillemotleft ] }; + key { [ p, P, greater, guillemotright ] }; + key { [ y, Y, comma, semicolon ] }; + key { [ b, B, asciitilde, dead_tilde ] }; + + key { [ k, K ] }; + key { [ f, F, tslash, Tslash ] }; + key { [ c, C, ccedilla, Ccedilla ] }; + key { [ h, H, hstroke, Hstroke ] }; + key { [ j, J ] }; + key { [ slash, question, questiondown ] }; + key { [ ampersand, dollar ] }; + + key { [ a, A, aacute, Aacute ] }; + key { [ o, O, oacute, Oacute ] }; + key { [ e, E, eacute, Eacute ] }; + key { [ i, I, iacute, Iacute ] }; + key { [ m, M, backslash, mu ] }; + + key { [ u, U, uacute, Uacute ] }; + key { [ r, R, registered, trademark ] }; + key { [ t, T, thorn, THORN ] }; + key { [ n, N, ntilde, Ntilde ] }; + key { [ s, S, ssharp, section ] }; + key { [ ISO_Level3_Shift, underscore ] }; + key { [ backslash, bar ] }; + + key { [ Shift_L ] }; + key { [ w, W, bar] }; + key { [ q, Q ] }; + key { [ Return, Return, k, K ] }; + key { [ d, D, minus, underscore ] }; + key { [ x, X, multiply, division ] }; + + key { [ g, G, b, B ] }; + key { [ l, L, euro ] }; + key { [ BackSpace, dead_diaeresis, dead_grave, dead_circumflex ] }; + key { [ v, V ] }; + key { [ z, Z ] }; + + modifier_map Shift {}; + // The modifiers are reordered + include "altwin(ctrl_alt_win)" + key { [ Alt_R, Meta_R ] }; + modifier_map Mod1 { }; +}; \ No newline at end of file -- cgit v1.2.3