xref: /minix/minix/drivers/tty/tty/keymaps/us-std.src (revision 433d6423)
1/* Keymap for US MF-2 keyboard. */
2
3/* scan-code		!Shift	Shift	Alt1	Alt2	Alt+Sh	Ctrl	*/
4/* ==================================================================== */
5   K(A)             = {	L('a'),	'A',	A('a'),	A('a'),	A('A'),	C('A')	},
6   K(B)             = {	L('b'),	'B',	A('b'),	A('b'),	A('B'),	C('B')	},
7   K(C)             = {	L('c'),	'C',	A('c'),	A('c'),	A('C'),	C('C')	},
8   K(D)             = {	L('d'),	'D',	A('d'),	A('d'),	A('D'),	C('D')	},
9   K(E)             = {	L('e'),	'E',	A('e'),	A('e'),	A('E'),	C('E')	},
10   K(F)             = {	L('f'),	'F',	A('f'),	A('f'),	A('F'),	C('F')	},
11   K(G)             = {	L('g'),	'G',	A('g'),	A('g'),	A('G'),	C('G')	},
12   K(H)             = {	L('h'),	'H',	A('h'),	A('h'),	A('H'),	C('H')	},
13   K(I)             = {	L('i'),	'I',	A('i'),	A('i'),	A('I'),	C('I')	},
14   K(J)             = {	L('j'),	'J',	A('j'),	A('j'),	A('J'),	C('J')	},
15   K(K)             = {	L('k'),	'K',	A('k'),	A('k'),	A('K'),	C('K')	},
16   K(L)             = {	L('l'),	'L',	A('l'),	A('l'),	A('L'),	C('L')	},
17   K(M)             = {	L('m'),	'M',	A('m'),	A('m'),	A('M'),	C('M')	},
18   K(N)             = {	L('n'),	'N',	A('n'),	A('n'),	A('N'),	C('N')	},
19   K(O)             = {	L('o'),	'O',	A('o'),	A('o'),	A('O'),	C('O')	},
20   K(P)             = {	L('p'),	'P',	A('p'),	A('p'),	A('P'),	C('P')	},
21   K(Q)             = {	L('q'),	'Q',	A('q'),	A('q'),	A('Q'),	C('Q')	},
22   K(R)             = {	L('r'),	'R',	A('r'),	A('r'),	A('R'),	C('R')	},
23   K(S)             = {	L('s'),	'S',	A('s'),	A('s'),	A('S'),	C('S')	},
24   K(T)             = {	L('t'),	'T',	A('t'),	A('t'),	A('T'),	C('T')	},
25   K(U)             = {	L('u'),	'U',	A('u'),	A('u'),	A('U'),	C('U')	},
26   K(V)             = {	L('v'),	'V',	A('v'),	A('v'),	A('V'),	C('V')	},
27   K(W)             = {	L('w'),	'W',	A('w'),	A('w'),	A('W'),	C('W')	},
28   K(X)             = {	L('x'),	'X',	A('x'),	A('x'),	A('X'),	C('X')	},
29   K(Y)             = {	L('y'),	'Y',	A('y'),	A('y'),	A('Y'),	C('Y')	},
30   K(Z)             = {	L('z'),	'Z',	A('z'),	A('z'),	A('Z'),	C('Z')	},
31   K(1)             = {	'1',	'!',	A('1'),	A('1'),	A('!'),	C('A')	},
32   K(2)             = {	'2',	'@',	A('2'),	A('2'),	A('@'),	C('@')	},
33   K(3)             = {	'3',	'#',	A('3'),	A('3'),	A('#'),	C('C')	},
34   K(4)             = {	'4',	'$',	A('4'),	A('4'),	A('$'),	C('D')	},
35   K(5)             = {	'5',	'%',	A('5'),	A('5'),	A('%'),	C('E')	},
36   K(6)             = {	'6',	'^',	A('6'),	A('6'),	A('^'),	C('^')	},
37   K(7)             = {	'7',	'&',	A('7'),	A('7'),	A('&'),	C('G')	},
38   K(8)             = {	'8',	'*',	A('8'),	A('8'),	A('*'),	C('H')	},
39   K(9)             = {	'9',	'(',	A('9'),	A('9'),	A('('),	C('I')	},
40   K(0)             = {	'0',	')',	A('0'),	A('0'),	A(')'),	C('@')	},
41   K(ENTER)         = {	C('M'),	C('M'),	CA('M'),CA('M'),CA('M'),C('J')	},
42   K(ESCAPE)        = {	C('['),	C('['),	CA('['),CA('['),CA('['),C('[')	},
43   K(BACKSPACE)     = {	C('H'),	C('H'),	CA('H'),CA('H'),CA('H'),DEL	},
44   K(TAB)           = {	C('I'),	C('I'),	CA('I'),CA('I'),CA('I'),C('I')	},
45   K(SPACEBAR)      = {	' ',	' ',	A(' '),	A(' '),	A(' '),	C('@')	},
46   K(DASH)          = {	'-',	'_',	A('-'),	A('-'),	A('_'),	C('_')	},
47   K(EQUAL)         = {	'=',	'+',	A('='),	A('='),	A('+'),	C('@')	},
48   K(OPEN_BRACKET)  = {	'[',	'{',	A('['),	A('['),	A('{'),	C('[')	},
49   K(CLOSE_BRACKET) = {	']',	'}',	A(']'),	A(']'),	A('}'),	C(']')	},
50   K(BACKSLASH)     = {	'\\',	'|',	A('\\'),A('\\'),A('|'),	C('\\')	},
51   K(SEMICOLON)     = {	';',	':',	A(';'),	A(';'),	A(':'),	C('@')	},
52   K(APOSTROPH)     = {	'\'',	'"',	A('\''),A('\''),A('"'),	C('@')	},
53   K(GRAVE_ACCENT)  = {	'`',	'~',	A('`'),	A('`'),	A('~'),	C('@')	},
54   K(COMMA)         = {	',',	'<',	A(','),	A(','),	A('<'),	C('@')	},
55   K(PERIOD)        = {	'.',	'>',	A('.'),	A('.'),	A('>'),	C('@')	},
56   K(SLASH)         = {	'/',	'?',	A('/'),	A('/'),	A('?'),	C('@')	},
57   K(CAPS_LOCK)     = {	CALOCK,	CALOCK,	CALOCK,	CALOCK,	CALOCK,	CALOCK	},
58   K(F1)            = {	F1,	SF1,	AF1,	AF1,	ASF1,	CF1	},
59   K(F2)            = {	F2,	SF2,	AF2,	AF2,	ASF2,	CF2	},
60   K(F3)            = {	F3,	SF3,	AF3,	AF3,	ASF3,	CF3	},
61   K(F4)            = {	F4,	SF4,	AF4,	AF4,	ASF4,	CF4	},
62   K(F5)            = {	F5,	SF5,	AF5,	AF5,	ASF5,	CF5	},
63   K(F6)            = {	F6,	SF6,	AF6,	AF6,	ASF6,	CF6	},
64   K(F7)            = {	F7,	SF7,	AF7,	AF7,	ASF7,	CF7	},
65   K(F8)            = {	F8,	SF8,	AF8,	AF8,	ASF8,	CF8	},
66   K(F9)            = {	F9,	SF9,	AF9,	AF9,	ASF9,	CF9	},
67   K(F10)           = {	F10,	SF10,	AF10,	AF10,	ASF10,	CF10	},
68   K(F11)           = {	F11,	SF11,	AF11,	AF11,	ASF11,	CF11	},
69   K(F12)           = {	F12,	SF12,	AF12,	AF12,	ASF12,	CF12	},
70   K(SCROLL_LOCK)   = {	SLOCK,	SLOCK,	SLOCK,	SLOCK,	SLOCK,	SLOCK	},
71   K(INSERT)        = {	INSRT,	INSRT,	AINSRT,	AINSRT,	AINSRT,	CINSRT	},
72   K(HOME)          = {	HOME,	HOME,	AHOME,	AHOME,	AHOME,	CHOME	},
73   K(PAGE_UP)       = {	PGUP,	PGUP,	APGUP,	APGUP,	APGUP,	CPGUP	},
74   K(DELETE)        = {	DEL,	DEL,	A(DEL),	A(DEL),	A(DEL),	DEL	},
75   K(END)           = {	END,	END,	AEND,	AEND,	AEND,	CEND	},
76   K(PAGE_DOWN)     = {	PGDN,	PGDN,	APGDN,	APGDN,	APGDN,	CPGDN	},
77   K(RIGHT_ARROW)   = {	RIGHT,	RIGHT,	ARIGHT,	ARIGHT,	ARIGHT,	CRIGHT	},
78   K(LEFT_ARROW)    = {	LEFT,	LEFT,	ALEFT,	ALEFT,	ALEFT,	CLEFT	},
79   K(DOWN_ARROW)    = {	DOWN,	DOWN,	ADOWN,	ADOWN,	ADOWN,	CDOWN	},
80   K(UP_ARROW)      = {	UP,	UP,	AUP,	AUP,	AUP,	CUP	},
81   K(NUM_LOCK)      = {	NLOCK,	NLOCK,	NLOCK,	NLOCK,	NLOCK,	NLOCK	},
82   K(KP_SLASH)      = {	'/',	'/',	A('/'),	A('/'),	A('/'),	C('@')	},
83   K(KP_STAR)       = {	'*',	'*',	A('*'),	A('*'),	A('*'),	C('@')	},
84   K(KP_DASH)       = {	'-',	'-',	AMIN,	AMIN,	A('-'),	CNMIN	},
85   K(KP_PLUS)       = {	'+',	'+',	APLUS,	APLUS,	A('+'),	CPLUS	},
86   K(KP_ENTER)      = {	C('M'),	C('M'),	CA('M'),CA('M'),CA('M'),C('J')	},
87   K(KP_1)          = {	NEND,	'1',	AEND,	AEND,	A('1'),	CEND	},
88   K(KP_2)          = {	NDOWN,	'2',	ADOWN,	ADOWN,	A('2'),	CDOWN	},
89   K(KP_3)          = {	NPGDN,	'3',	APGDN,	APGDN,	A('3'),	CPGDN	},
90   K(KP_4)          = {	NLEFT,	'4',	ALEFT,	ALEFT,	A('4'),	CLEFT	},
91   K(KP_5)          = {	NMID,	'5',	AMID,	AMID,	A('5'),	CMID	},
92   K(KP_6)          = {	NRIGHT,	'6',	ARIGHT,	ARIGHT,	A('6'),	CRIGHT	},
93   K(KP_7)          = {	NHOME,	'7',	AHOME,	AHOME,	A('7'),	CHOME	},
94   K(KP_8)          = {	NUP,	'8',	AUP,	AUP,	A('8'),	CUP	},
95   K(KP_9)          = {	NPGUP,	'9',	APGUP,	APGUP,	A('9'),	CPGUP	},
96   K(KP_0)          = {	NINSRT,	'0',	AINSRT,	AINSRT,	A('0'),	CINSRT	},
97   K(KP_PERIOD)     = {	NDEL,	'.',	A(DEL),	A(DEL),	A('.'),	DEL	},
98   K(EUROPE_2)      = {	'<',	'>',	A('<'),	A('|'),	A('>'),	C('@')	},
99   K(APPLICATION)   = {	C('M'),	C('M'),	CA('M'),CA('M'),CA('M'),C('J')	},
100   K(SYSREQ)        = {	C('M'),	C('M'),	CA('M'),CA('M'),CA('M'),C('J')	},
101   K(LEFT_CTRL)     = {	LCTRL,	LCTRL,	LCTRL,	LCTRL,	LCTRL,	LCTRL	},
102   K(LEFT_SHIFT)    = {	LSHIFT,	LSHIFT,	LSHIFT,	LSHIFT,	LSHIFT,	LSHIFT	},
103   K(LEFT_ALT)      = {	LALT,	LALT,	LALT,	LALT,	LALT,	LALT	},
104   K(LEFT_GUI)      = {	LEFT,	'<',	ALEFT,	ALEFT,	A('<'),	CLEFT	},
105   K(RIGHT_CTRL)    = {	RCTRL,	RCTRL,	RCTRL,	RCTRL,	RCTRL,	RCTRL	},
106   K(RIGHT_SHIFT)   = {	RSHIFT,	RSHIFT,	RSHIFT,	RSHIFT,	RSHIFT,	RSHIFT	},
107   K(RIGHT_ALT)     = {	RALT,	RALT,	RALT,	RALT,	RALT,	RALT	},
108   K(RIGHT_GUI)     = {	RIGHT,	'>',	ARIGHT,	ARIGHT,	A('>'),	CRIGHT	}
109