Add console keymap

This commit is contained in:
The Magician 2023-12-19 10:59:27 +00:00
parent 31a3171b70
commit c10a7d31d6
2 changed files with 63 additions and 1 deletions

59
40percent.map Normal file
View File

@ -0,0 +1,59 @@
# uk.map
# From bam@wcl-l.bham.ac.uk Fri May 2 20:20:59 1997
# reduced number of keymaps, adapted to alt_is_meta - aeb
#
# old: shift keycode 41 = asciitilde
# bam: shift keycode 41 = notsign
#
keymaps 0-2,4-6,8,9,12
alt_is_meta
include "qwerty-layout"
include "linux-with-alt-and-altgr"
strings as usual
keycode 1 = Escape
keycode 2 = one exclam
keycode 3 = two quotedbl at nul
keycode 4 = three sterling
control keycode 4 = Escape
keycode 5 = four dollar dollar Control_backslash
keycode 6 = five percent
control keycode 6 = Control_bracketright
keycode 7 = six asciicircum
control keycode 7 = Control_asciicircum
keycode 8 = seven ampersand braceleft Control_underscore
keycode 9 = eight asterisk bracketleft Delete
keycode 10 = nine parenleft bracketright
keycode 11 = zero parenright braceright
# alt keycode 11 = Meta_parenright
keycode 12 = minus underscore backslash Control_underscore
keycode 13 = equal plus
keycode 14 = Delete
control keycode 14 = Control_underscore
keycode 15 = Tab
shift keycode 15 = Meta_Tab
keycode 26 = bracketleft braceleft
control keycode 26 = Escape
keycode 27 = bracketright braceright asciitilde Control_bracketright
keycode 28 = Return
alt keycode 28 = Meta_Control_m
keycode 29 = Control
keycode 39 = semicolon colon
keycode 40 = apostrophe at
control keycode 40 = Control_g
shift control keycode 40 = nul
keycode 41 = grave notsign bar nul
keycode 42 = Shift
keycode 43 = numbersign asciitilde
control keycode 43 = Control_backslash
keycode 51 = comma less
keycode 52 = period greater
keycode 53 = slash question
control keycode 53 = Delete
keycode 54 = Shift
keycode 56 = Alt
keycode 57 = space
control keycode 57 = nul
keycode 58 = Escape
keycode 86 = backslash bar bar Control_backslash
keycode 97 = Control

View File

@ -1,2 +1,5 @@
install:
install-x11:
cp 40percent /usr/share/X11/xkb/symbols/40percent
install-console:
cp 40percent.map /usr/share/keymaps/i386/qwerty/40percent.map
gzip /usr/share/keymaps/i386/qwerty/40percent.map