From c37a30b9f8b9fdbf294b439c8672d01996b10e8a Mon Sep 17 00:00:00 2001 From: Asocia Date: Tue, 25 Jan 2022 19:33:03 +0300 Subject: [PATCH] Add rdvpt layout --- .config/layouts/rdvpt | 61 +++++++++++++++++++++++ .config/layouts/rdvpt.map | 100 ++++++++++++++++++++++++++++++++++++++ .config/layouts/rdvpt.xml | 6 +++ 3 files changed, 167 insertions(+) create mode 100644 .config/layouts/rdvpt create mode 100644 .config/layouts/rdvpt.map create mode 100644 .config/layouts/rdvpt.xml diff --git a/.config/layouts/rdvpt b/.config/layouts/rdvpt new file mode 100644 index 0000000..5a20603 --- /dev/null +++ b/.config/layouts/rdvpt @@ -0,0 +1,61 @@ +// based on Michael Paulson's poor ideas. + +partial alphanumeric_keys +xkb_symbols "rdvpt" { + + include "level3(ralt_switch)" + name[Group1]= "English (Real Programmers Dvorak)"; + + key { [ grave, asciitilde, dead_grave, dead_tilde ] }; + + key { [ at, 1 ] ,type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; + key { [ bracketleft, 2 ] ,type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; + key { [ braceleft, 3 ] ,type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; + key { [ parenleft, 4 ] ,type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; + key { [ plus, 5 ] ,type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; + key { [ equal, 6, dead_circumflex, dead_circumflex ] ,type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; + key { [ parenright, 7 ] ,type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; + key { [ braceright, 8 ] ,type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; + key { [ bracketright, 9, dead_grave] ,type[Group1] = "FOUR_LEVEL_ALPHABETIC"}; + key { [ percent, 0 ] ,type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; + key { [ asterisk, numbersign ] }; + key { [ ampersand , exclam ] }; + + key { [ semicolon, colon, dead_acute, dead_diaeresis ] }; + key { [ comma, less, dead_cedilla, dead_caron ] }; + key { [ period, greater, dead_abovedot, periodcentered ] }; + key { [ p, P ] }; + key { [ y, Y ] }; + key { [ f, F ] }; + key { [ g, G, gbreve, Gbreve ] }; + key { [ c, C ,ccedilla, Ccedilla ] }; + key { [ r, R ] }; + key { [ l, L ] }; + key { [ slash, question ] }; + key { [ dollar, asciicircum] }; + + key { [ a, A ] }; + key { [ o, O,odiaeresis, Odiaeresis ] }; + key { [ e, E ] }; + key { [ u, U, udiaeresis, Udiaeresis ] }; + key { [ i, I, idotless,Iabovedot ] }; + key { [ d, D ] }; + key { [ h, H ] }; + key { [ t, T ] }; + key { [ n, N ] }; + key { [ s, S,scedilla, Scedilla ] }; + key { [ minus, underscore ] ,type[Group1] = "FOUR_LEVEL_ALPHABETIC" }; + + key { [ apostrophe, quotedbl, dead_ogonek, dead_doubleacute ] }; + key { [ q, Q ] }; + key { [ j, J ] }; + key { [ k, K ] }; + key { [ x, X ] }; + key { [ b, B, grave,dead_grave ] }; + key { [ m, M ] }; + key { [ w, W ] }; + key { [ v, V ] }; + key { [ z, Z ] }; + + key { [ backslash, bar ] }; +}; diff --git a/.config/layouts/rdvpt.map b/.config/layouts/rdvpt.map new file mode 100644 index 0000000..dbcb043 --- /dev/null +++ b/.config/layouts/rdvpt.map @@ -0,0 +1,100 @@ +! Real Programmer's Dvorak keymap with Turkish support +! +! Original from: http://www.kaufmann.no/roland/dvorak/ +! This file edited by: Merlin Dou (11 March 2014) +! +! This file is free software; you can redistribute it and/or modify +! it under the terms of the GNU General Public License as published by +! the Free Software Foundation; either version 2 of the License, or +! (at your option) any later version. +! +! This program is distributed in the hope that it will be useful, +! but WITHOUT ANY WARRANTY; without even the implied warranty of +! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +! GNU General Public License for more details. +! +! You should have received a copy of the GNU General Public License +! along with this program; if not, write to the Free Software +! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +! +keymaps 0-2,4-6,8-9,12 +alt_is_meta +include "linux-with-two-alt-keys.inc" +strings as usual +! -------------------------------------------------------------------------- +! Row 1 +! -------------------------------------------------------------------------- +keycode 1 = Escape +! -------------------------------------------------------------------------- +! Row 2 +! -------------------------------------------------------------------------- + +keycode 41 = grave asciitilde +keycode 2 = at 1 +keycode 3 = bracketleft 2 +keycode 4 = braceleft 3 +keycode 5 = parenleft 4 +keycode 6 = plus 5 +keycode 7 = equal 6 +keycode 8 = parenright 7 +keycode 9 = braceright 8 +keycode 10 = bracketright 9 +keycode 11 = percent 0 +keycode 12 = asterisk numbersign +keycode 13 = ampersand exclam +keycode 14 = Delete +! -------------------------------------------------------------------------- +! Row 3 +! -------------------------------------------------------------------------- +keycode 15 = Tab +keycode 16 = semicolon colon +keycode 17 = comma less +keycode 18 = period greater +keycode 19 = p +keycode 20 = y +keycode 21 = f +keycode 22 = g +keycode 23 = c +keycode 24 = r +keycode 25 = l +keycode 26 = slash question +keycode 27 = dollar asciicircum +keycode 28 = Return +! -------------------------------------------------------------------------- +! Row 4 +! -------------------------------------------------------------------------- +keycode 58 = Caps_Lock +keycode 30 = a +keycode 31 = o +keycode 32 = e +keycode 33 = u +keycode 34 = i +keycode 35 = d +keycode 36 = h +keycode 37 = t +keycode 38 = n +keycode 39 = s +keycode 40 = minus underscore +keycode 43 = backslash bar +! -------------------------------------------------------------------------- +! Row 5 +! -------------------------------------------------------------------------- +keycode 42 = Shift +keycode 44 = apostrophe quotedbl +keycode 45 = q +keycode 46 = j +keycode 47 = k +keycode 48 = x +keycode 49 = b +keycode 50 = m +keycode 51 = w +keycode 52 = v +keycode 53 = z +keycode 54 = Shift +! -------------------------------------------------------------------------- +! Row 6 +! -------------------------------------------------------------------------- +keycode 29 = Control +keycode 56 = Alt +keycode 57 = space +keycode 97 = Control diff --git a/.config/layouts/rdvpt.xml b/.config/layouts/rdvpt.xml new file mode 100644 index 0000000..b998cec --- /dev/null +++ b/.config/layouts/rdvpt.xml @@ -0,0 +1,6 @@ + + + rdvpt + English (real programmer Dvorak with Turkish characters) + +