Permalink
Browse files

Make Alt well-behaved

- map Alt (and rest of modifiers) properly for all letters
- map right Alt key to Alt modifier, not AltGr to behave consistently
  with left Alt without additional work
  • Loading branch information...
raindev committed Feb 14, 2017
1 parent c58a9a0 commit 03bc14706070cc3d93066a86e8ce8b5e9eb24525
Showing with 31 additions and 29 deletions.
  1. +31 −29 linux_console/workman.iso15.kmap
@@ -8,6 +8,34 @@ include "qwerty-layout"
include "linux-with-alt-and-altgr"
strings as usual
# Define full range of default mappings for each letter (Meta_x, Control_x, Meta_Control_x etc.)
keycode 16 = q
keycode 17 = d
keycode 18 = r
keycode 19 = w
keycode 20 = b
keycode 21 = j
keycode 22 = f
keycode 23 = u
keycode 24 = p
keycode 30 = a
keycode 31 = s
keycode 32 = h
keycode 33 = t
keycode 34 = g
keycode 35 = y
keycode 36 = n
keycode 37 = e
keycode 38 = o
keycode 39 = i
keycode 44 = z
keycode 45 = x
keycode 46 = m
keycode 47 = c
keycode 48 = v
keycode 49 = k
keycode 50 = l
keycode 41 = grave asciitilde dead_tilde asciitilde nul
keycode 2 = one exclam exclamdown onesuperior
keycode 3 = two at masculine twosuperior nul
@@ -21,40 +49,11 @@ keycode 10 = nine parenleft asciitilde asciitilde
keycode 11 = zero parenright asciitilde asciitilde
keycode 12 = minus underscore asciitilde asciitilde Control_underscore
keycode 13 = equal plus multiply division
keycode 16 = q Q adiaeresis Adiaeresis Control_q
keycode 17 = d D dead_diaeresis asciitilde Control_d
keycode 18 = r R dead_grave asciitilde Control_r
keycode 19 = w W aring Aring Control_w
keycode 20 = b B asciitilde asciitilde Control_b # dead_breve asciitilde
keycode 21 = j J asciitilde asciitilde Control_j # dstroke Dstroke
keycode 22 = f F atilde Atilde Control_f
keycode 23 = u U uacute Uacute Control_u
keycode 24 = p P oslash Ooblique Control_p
keycode 25 = semicolon colon odiaeresis Odiaeresis
keycode 26 = bracketleft braceleft guillemotleft asciitilde Escape
keycode 27 = bracketright braceright guillemotright asciitilde Control_bracketright
keycode 43 = backslash bar asciitilde asciitilde Control_backslash
keycode 30 = a A aacute Aacute Control_a
keycode 31 = s S ssharp asciitilde Control_s
keycode 32 = h H asciitilde asciitilde Control_h # dead_caron asciitilde
keycode 33 = t T dead_acute asciitilde Control_t # dead_acute dead_doubleacute
keycode 34 = g G asciitilde asciitilde Control_g # dead_ogonek asciitilde
keycode 35 = y Y udiaeresis Udiaeresis Control_y
keycode 36 = n N ntilde Ntilde Control_n
keycode 37 = e E eacute Eacute Control_e
keycode 38 = o O oacute Oacute Control_o
keycode 39 = i I iacute Iacute Control_i
keycode 40 = apostrophe quotedbl otilde Otilde
keycode 44 = z Z ae AE Control_z
keycode 45 = x X dead_circumflex asciitilde Control_x
keycode 46 = m M asciitilde asciitilde Control_m # dead_macron asciitilde
keycode 47 = c C ccedilla Ccedilla Control_c
keycode 48 = v V oe OE Control_v
keycode 49 = k K asciitilde asciitilde Control_k # dead_abovering asciitilde
keycode 50 = l L asciitilde asciitilde Control_l # lstroke Lstroke
keycode 51 = comma less dead_cedilla asciitilde
keycode 52 = period greater asciitilde asciitilde
keycode 53 = slash question questiondown asciitilde Delete
@@ -74,3 +73,6 @@ keycode 97 = Control
# Swap CapsLock and Left Control
keycode 29 = Caps_Lock
keycode 58 = Control
# Map right Alt to produce the same escape sequences as left with single letter definitions
keycode 100 = Alt

0 comments on commit 03bc147

Please sign in to comment.