xref: /freebsd/share/vt/keymaps/colemak-dh.acc.kbd (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1# Colemak Mod-DH (rev. 2) layout for FreeBSD console
2# 2006-01-01 Shai Coleman (http://colemak.com/),
3# 2014-10-27 Steve P (http://colemakmods.github.io/mod-dh/).
4# Public domain.
5
6#                                                         alt
7# scan                       cntrl          alt    alt   cntrl lock
8# code  base   shift  cntrl  shift  alt    shift  cntrl  shift state
9# ------------------------------------------------------------------
10  000   nop    nop    nop    nop    nop    nop    nop    nop     O
11  001   esc    esc    esc    esc    esc    esc    debug  debug   O
12  002   '1'    '!'    nop    nop    '`'    '`'    nop    nop     O
13  003   '2'    '@'    nul    nul    '@'    '@'    nul    nul     O
14  004   '3'    '#'    nop    nop    '#'    '#'    nop    nop     O
15  005   '4'    '$'    0xa4   0xa4   '4'    '$'    nop    nop     O
16  006   '5'    '%'    nop    nop    '5'    '%'    nop    nop     O
17  007   '6'    '^'    rs     rs     '^'    '^'    rs     rs      O
18  008   '7'    '&'    nop    nop    '['    '['    esc    esc     O
19  009   '8'    '*'    nop    nop    '8'    '*'    nop    nop     O
20  010   '9'    '('    nop    nop    ']'    ']'    gs     gs      O
21  011   '0'    ')'    nop    nop    '{'    '{'    nop    nop     O
22  012   '-'    '_'    us     us     '|'    '|'    us     us      O
23  013   '='    '+'    nop    nop    '}'    '}'    nop    nop     O
24  014   bs     bs     del    del    bs     bs     del    del     O
25  015   ht     btab   nop    nop    ht     btab   nop    nop     O
26  016   'q'    'Q'    dc1    dc1    'q'    'Q'    dc1    dc1     C
27  017   'w'    'W'    etb    etb    'w'    'W'    etb    etb     C
28  018   'f'    'F'    ack    ack    'f'    'F'    ack    ack     C
29  019   'p'    'P'    dle    dle    'p'    'P'    dle    dle     C
30  020   'b'    'B'    stx    stx    'b'    'B'    stx    stx     C
31  021   'j'    'J'    nl     nl     'j'    'J'    nl     nl      C
32  022   'l'    'L'    ff     ff     'l'    'L'    ff     ff      C
33  023   'u'    'U'    nak    nak    'u'    'U'    nak    nak     C
34  024   'y'    'Y'    em     em     'y'    'Y'    em     em      C
35  025   ';'    ':'    nop    nop    ';'    ':'    nop    nop     O
36  026   '['    '{'    esc    esc    '['    '{'    esc    esc     O
37  027   ']'    '}'    gs     gs     ']'    '}'    gs     gs      O
38  028   cr     cr     nl     nl     cr     cr     nl     nl      O
39  029   lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl  lctrl   O
40  030   'a'    'A'    soh    soh    'a'    'A'    soh    soh     C
41  031   'r'    'R'    dc2    dc2    'r'    'R'    dc2    dc2     C
42  032   's'    'S'    dc3    dc3    's'    'S'    dc3    dc3     C
43  033   't'    'T'    dc4    dc4    't'    'T'    dc4    dc4     C
44  034   'g'    'G'    bel    bel    'g'    'G'    bel    bel     C
45  035   'k'    'K'    vt     vt     'k'    'K'    vt     vt      C
46  036   'n'    'N'    so     so     'n'    'N'    so     so      C
47  037   'e'    'E'    enq    enq    0x20ac 'E'    enq    enq     C
48  038   'i'    'I'    ht     ht     'i'    'I'    ht     ht      C
49  039   'o'    'O'    si     si     'o'    'O'    si     si      C
50  040   '''    '"'    nop    nop    0xf5   0xd5   nop    nop     O
51  041   '`'    '~'    nop    nop    dtil   '~'    nop    nop     O
52  042   lshift lshift lshift lshift lshift lshift lshift lshift  O
53  043   '\'    '|'    fs     fs     '~'    '~'    fs     fs      O
54  044   'z'    'Z'    sub    sub    0xe6   0xc6   sub    sub     C
55  045   'x'    'X'    can    can    dcir   '~'    can    can     C
56  046   'c'    'C'    etx    etx    0xe7   0xc7   etx    etx     C
57  047   'd'    'D'    eot    eot    0xbd   0xbc   syn    syn     C
58  048   'v'    'V'    stx    stx    '~'    '~'    stx    stx     C
59  049   'm'    'M'    vt     vt     drin   '~'    vt     vt      C
60  050   'h'    'H'    cr     cr     '~'    '~'    cr     cr      C
61  051   ','    '<'    nop    nop    dced   '~'    nop    nop     O
62  052   '.'    '>'    nop    nop    '~'    '~'    nop    nop     O
63  053   '/'    '?'    nop    nop    0xbf   '~'    nop    nop     O
64  054   rshift rshift rshift rshift rshift rshift rshift rshift  O
65  055   '*'    '*'    '*'    '*'    '*'    '*'    '*'    '*'     O
66  056   lalt   lalt   lalt   lalt   lalt   lalt   lalt   lalt    O
67  057   ' '    ' '    nul    nul    ' '    ' '    susp   susp    O
68  058   clock  clock  clock  clock  clock  clock  clock  clock   O
69  059   fkey01 fkey13 fkey25 fkey37 scr01  scr11  scr01  scr11   O
70  060   fkey02 fkey14 fkey26 fkey38 scr02  scr12  scr02  scr12   O
71  061   fkey03 fkey15 fkey27 fkey39 scr03  scr13  scr03  scr13   O
72  062   fkey04 fkey16 fkey28 fkey40 scr04  scr14  scr04  scr14   O
73  063   fkey05 fkey17 fkey29 fkey41 scr05  scr15  scr05  scr15   O
74  064   fkey06 fkey18 fkey30 fkey42 scr06  scr16  scr06  scr16   O
75  065   fkey07 fkey19 fkey31 fkey43 scr07  scr07  scr07  scr07   O
76  066   fkey08 fkey20 fkey32 fkey44 scr08  scr08  scr08  scr08   O
77  067   fkey09 fkey21 fkey33 fkey45 scr09  scr09  scr09  scr09   O
78  068   fkey10 fkey22 fkey34 fkey46 scr10  scr10  scr10  scr10   O
79  069   nlock  nlock  nlock  nlock  nlock  nlock  nlock  nlock   O
80  070   slock  slock  slock  slock  slock  slock  slock  slock   O
81  071   fkey49 '7'    '7'    '7'    '7'    '7'    '7'    '7'     N
82  072   fkey50 '8'    '8'    '8'    '8'    '8'    '8'    '8'     N
83  073   fkey51 '9'    '9'    '9'    '9'    '9'    '9'    '9'     N
84  074   fkey52 '-'    '-'    '-'    '-'    '-'    '-'    '-'     N
85  075   fkey53 '4'    '4'    '4'    '4'    '4'    '4'    '4'     N
86  076   fkey54 '5'    '5'    '5'    '5'    '5'    '5'    '5'     N
87  077   fkey55 '6'    '6'    '6'    '6'    '6'    '6'    '6'     N
88  078   fkey56 '+'    '+'    '+'    '+'    '+'    '+'    '+'     N
89  079   fkey57 '1'    '1'    '1'    '1'    '1'    '1'    '1'     N
90  080   fkey58 '2'    '2'    '2'    '2'    '2'    '2'    '2'     N
91  081   fkey59 '3'    '3'    '3'    '3'    '3'    '3'    '3'     N
92  082   fkey60 '0'    '0'    '0'    '0'    '0'    '0'    '0'     N
93  083   del    '.'    '.'    '.'    '.'    '.'    boot   boot    N
94  084   nop    nop    nop    nop    nop    nop    nop    nop     O
95  085   nop    nop    nop    nop    nop    nop    nop    nop     O
96  086   '\'    '|'    fs     fs     '\'    '|'    fs     fs      O
97  087   fkey11 fkey23 fkey35 fkey47 scr11  scr11  scr11  scr11   O
98  088   fkey12 fkey24 fkey36 fkey48 scr12  scr12  scr12  scr12   O
99  089   cr     cr     nl     nl     cr     cr     nl     nl      O
100  090   rctrl  rctrl  rctrl  rctrl  rctrl  rctrl  rctrl  rctrl   O
101  091   '/'    '/'    '/'    '/'    '/'    '/'    '/'    '/'     N
102  092   nscr   pscr   debug  debug  nop    nop    nop    nop     O
103  093   ralt   ralt   ralt   ralt   ralt   ralt   ralt   ralt    O
104  094   fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49 fkey49  O
105  095   fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50 fkey50  O
106  096   fkey51 fkey51 fkey51 fkey51 fkey51 fkey51 fkey51 fkey51  O
107  097   fkey53 fkey53 fkey53 fkey53 fkey53 fkey53 fkey53 fkey53  O
108  098   fkey55 fkey55 fkey55 fkey55 fkey55 fkey55 fkey55 fkey55  O
109  099   fkey57 fkey57 fkey57 fkey57 fkey57 fkey57 fkey57 fkey57  O
110  100   fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58 fkey58  O
111  101   fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59 fkey59  O
112  102   fkey60 paste  fkey60 fkey60 fkey60 fkey60 fkey60 fkey60  O
113  103   fkey61 fkey61 fkey61 fkey61 fkey61 fkey61 boot   fkey61  O
114  104   slock  saver  slock  saver  susp   nop    susp   nop     O
115  105   fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62 fkey62  O
116  106   fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63 fkey63  O
117  107   fkey64 fkey64 fkey64 fkey64 fkey64 fkey64 fkey64 fkey64  O
118  108   nop    nop    nop    nop    nop    nop    nop    nop     O
119
120  dgra '`'     ( 'a'    0xe0    ) ( 'A'    0xc0    ) ( 'e'    0xe8    ) ( 'E'    0xc8    )
121               ( 'i'    0xec    ) ( 'I'    0xcc    ) ( 'o'    0xf2    ) ( 'O'    0xd2    )
122               ( 'u'    0xf9    ) ( 'U'    0xd9    )
123
124  dacu 0xb4    ( 'a'    0xe1    ) ( 'A'    0xc1    ) ( 'e'    0xe9    ) ( 'E'    0xc9    )
125               ( 'i'    0xed    ) ( 'I'    0xcd    ) ( 'o'    0xf3    ) ( 'O'    0xd3    )
126               ( 'u'    0xfa    ) ( 'U'    0xda    ) ( 'y'    0xfd    ) ( 'Y'    0xdd    )
127
128  dcir '^'     ( 'a'    0xe2    ) ( 'A'    0xc2    ) ( 'e'    0xea    ) ( 'E'    0xca    )
129               ( 'i'    0xee    ) ( 'I'    0xce    ) ( 'o'    0xf4    ) ( 'O'    0xd4    )
130               ( 'u'    0xfb    ) ( 'U'    0xdb    )
131
132  dtil '~'     ( 'a'    0xe3    ) ( 'A'    0xc3    ) ( 'n'    0xf1    ) ( 'N'    0xd1    )
133               ( 'o'    0xf5    ) ( 'O'    0xd5    )
134
135  duml 0xa8    ( 'a'    0xe4    ) ( 'A'    0xc4    ) ( 'e'    0xeb    ) ( 'E'    0xcb    )
136               ( 'i'    0xef    ) ( 'I'    0xcf    ) ( 'o'    0xf6    ) ( 'O'    0xd6    )
137               ( 'u'    0xfc    ) ( 'U'    0xdc    ) ( 'y'    0xff    )
138
139  drin 0xb0    ( 'a'    0xe5    ) ( 'A'    0xc5    )
140
141  dced 0xb8    ( 'c'    0xe7    ) ( 'C'    0xc7    )
142