1
# VICE keyboard mapping file
3
# A Keyboard map is read in as patch to the current map.
6
# - comment lines start with '#'
7
# - keyword lines start with '!keyword'
8
# - normal line has 'keysym/scancode row column shiftflag'
10
# Keywords and their lines are:
11
# '!CLEAR' clear whole table
12
# '!INCLUDE filename' read file as mapping file
13
# '!LSHIFT row col' left shift keyboard row/column
14
# '!RSHIFT row col' right shift keyboard row/column
15
# '!VSHIFT shiftkey' virtual shift key (RSHIFT or LSHIFT)
16
# '!UNDEF keysym' remove keysym from table
18
# Shiftflag can have the values:
19
# 0 key is not shifted for this keysym/scancode
20
# 1 key is shifted for this keysym/scancode
23
# 8 key can be shifted or not with this keysym/scancode
24
# 16 deshift key for this keysym/scancode
25
# 32 another definition for this keysym/scancode follows
27
# Negative row values:
28
# 'keysym -1 n' joystick #1, direction n
29
# 'keysym -2 n' joystick #2, direction n
30
# 'keysym -3 0' first RESTORE key
31
# 'keysym -3 1' second RESTORE key
32
# 'keysym -4 0' 40/80 column key
33
# 'keysym -4 1' CAPS (ASCII/DIN) key
41
27 0 3 8 /* ESC -> Run/Stop */
52
43 5 0 8 /* Minus -> Plus */
53
61 5 7 8 /* Equal -> Minus */
54
8 7 0 8 /* Backspace -> Del */
55
9 0 2 8 /* TAB -> Ctrl */
56
113 0 6 8 /* Q -> Q */
57
119 1 1 8 /* W -> W */
58
101 1 6 8 /* E -> E */
59
114 2 1 8 /* R -> R */
60
116 2 6 8 /* T -> T */
61
121 3 1 8 /* Y -> Y */
62
117 3 6 8 /* U -> U */
63
105 4 1 8 /* I -> I */
64
111 4 6 8 /* O -> O */
65
112 5 1 8 /* P -> P */
68
13 7 1 8 /* Return -> Return */
69
306 0 5 8 /* Left Ctrl -> CBM */
71
115 1 5 8 /* S -> S */
72
100 2 2 8 /* D -> D */
73
102 2 5 8 /* F -> F */
74
103 3 2 8 /* G -> G */
75
104 3 5 8 /* H -> H */
76
106 4 2 8 /* J -> J */
77
107 4 5 8 /* K -> K */
78
108 5 2 8 /* L -> L */
81
96 0 1 8 /* ` -> Left Arrow */
83
304 1 3 2 /* Left Shift -> Left Shift */
84
122 1 4 8 /* Z -> Z */
85
120 2 3 8 /* X -> X */
87
118 3 3 8 /* V -> V */
89
110 4 3 8 /* N -> N */
90
109 4 4 8 /* M -> M */
94
303 6 4 4 /* Right Shift -> Right Shift */
95
32 0 4 8 /* Space -> Space */
96
282 7 4 8 /* F1 -> F1 */
97
283 7 4 1 /* F2 -> F2 */
98
284 7 5 8 /* F3 -> F3 */
99
285 7 5 1 /* F4 -> F4 */
100
286 7 6 8 /* F5 -> F5 */
101
287 7 6 1 /* F6 -> F6 */
102
288 7 7 8 /* F7 -> F7 */
103
289 7 7 1 /* F8 -> F8 */
104
278 6 7 8 /* Home -> CLR/HOME */
105
273 7 3 1 /* Up -> CRSR UP */
106
276 7 2 1 /* Left -> CRSR LEFT */
107
275 7 2 8 /* Right -> CRSR RIGHT */
108
274 7 3 8 /* Down -> CRSR DOWN */
109
277 6 0 8 /* Ins -> Pound */
110
127 6 6 8 /* Del -> Up Arrow */
112
# Restore key mappings