Add rdvpt layout

This commit is contained in:
Asocia 2022-01-25 19:33:03 +03:00
parent cfedfe11ae
commit c37a30b9f8
3 changed files with 167 additions and 0 deletions

61
.config/layouts/rdvpt Normal file
View File

@ -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 <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] };
key <AE01> { [ at, 1 ] ,type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
key <AE02> { [ bracketleft, 2 ] ,type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
key <AE03> { [ braceleft, 3 ] ,type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
key <AE04> { [ parenleft, 4 ] ,type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
key <AE05> { [ plus, 5 ] ,type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
key <AE06> { [ equal, 6, dead_circumflex, dead_circumflex ] ,type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
key <AE07> { [ parenright, 7 ] ,type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
key <AE08> { [ braceright, 8 ] ,type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
key <AE09> { [ bracketright, 9, dead_grave] ,type[Group1] = "FOUR_LEVEL_ALPHABETIC"};
key <AE10> { [ percent, 0 ] ,type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
key <AE11> { [ asterisk, numbersign ] };
key <AE12> { [ ampersand , exclam ] };
key <AD01> { [ semicolon, colon, dead_acute, dead_diaeresis ] };
key <AD02> { [ comma, less, dead_cedilla, dead_caron ] };
key <AD03> { [ period, greater, dead_abovedot, periodcentered ] };
key <AD04> { [ p, P ] };
key <AD05> { [ y, Y ] };
key <AD06> { [ f, F ] };
key <AD07> { [ g, G, gbreve, Gbreve ] };
key <AD08> { [ c, C ,ccedilla, Ccedilla ] };
key <AD09> { [ r, R ] };
key <AD10> { [ l, L ] };
key <AD11> { [ slash, question ] };
key <AD12> { [ dollar, asciicircum] };
key <AC01> { [ a, A ] };
key <AC02> { [ o, O,odiaeresis, Odiaeresis ] };
key <AC03> { [ e, E ] };
key <AC04> { [ u, U, udiaeresis, Udiaeresis ] };
key <AC05> { [ i, I, idotless,Iabovedot ] };
key <AC06> { [ d, D ] };
key <AC07> { [ h, H ] };
key <AC08> { [ t, T ] };
key <AC09> { [ n, N ] };
key <AC10> { [ s, S,scedilla, Scedilla ] };
key <AC11> { [ minus, underscore ] ,type[Group1] = "FOUR_LEVEL_ALPHABETIC" };
key <AB01> { [ apostrophe, quotedbl, dead_ogonek, dead_doubleacute ] };
key <AB02> { [ q, Q ] };
key <AB03> { [ j, J ] };
key <AB04> { [ k, K ] };
key <AB05> { [ x, X ] };
key <AB06> { [ b, B, grave,dead_grave ] };
key <AB07> { [ m, M ] };
key <AB08> { [ w, W ] };
key <AB09> { [ v, V ] };
key <AB10> { [ z, Z ] };
key <BKSL> { [ backslash, bar ] };
};

100
.config/layouts/rdvpt.map Normal file
View File

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

View File

@ -0,0 +1,6 @@
<variant>
<configItem>
<name>rdvpt</name>
<description>English (real programmer Dvorak with Turkish characters)</description>
</configItem>
</variant>