xref: /openbmc/linux/drivers/s390/char/defkeymap.map (revision d47a97bd)
1# SPDX-License-Identifier: GPL-2.0
2# Default keymap for 3270 (ebcdic codepage 037).
3keymaps 0-1,4-5
4
5keycode   0 = nul		Oslash
6keycode   1 = nul		a
7keycode   2 = nul		b
8keycode   3 = nul		c
9keycode   4 = nul		d
10keycode   5 = nul		e
11keycode   6 = nul		f
12keycode   7 = nul		g
13keycode   8 = nul		h
14keycode   9 = nul		i
15keycode  10 = nul		guillemotleft
16keycode  11 = nul		guillemotright
17keycode  12 = nul		eth
18keycode  13 = nul		yacute
19keycode  14 = nul		thorn
20keycode  15 = nul		plusminus
21keycode  16 = nul		degree
22keycode  17 = nul		j
23keycode  18 = nul		k
24keycode  19 = nul		l
25keycode  20 = nul		m
26keycode  21 = nul		n
27keycode  22 = nul		o
28keycode  23 = nul		p
29keycode  24 = nul		q
30keycode  25 = nul		r
31keycode  26 = nul		nul
32keycode  27 = nul		nul
33keycode  28 = nul		ae
34keycode  29 = nul		cedilla
35keycode  30 = nul		AE
36keycode  31 = nul		currency
37keycode  32 = nul		mu
38keycode  33 = nul		tilde
39keycode  34 = nul		s
40keycode  35 = nul		t
41keycode  36 = nul		u
42keycode  37 = nul		v
43keycode  38 = nul		w
44keycode  39 = nul		x
45keycode  40 = nul		y
46keycode  41 = nul		z
47keycode  42 = nul		exclamdown
48keycode  43 = nul		questiondown
49keycode  44 = nul		ETH
50keycode  45 = nul		Yacute
51keycode  46 = nul		THORN
52keycode  47 = nul		registered
53keycode  48 = nul		dead_circumflex
54keycode  49 = nul		sterling
55keycode  50 = nul		yen
56keycode  51 = nul		periodcentered
57keycode  52 = nul		copyright
58keycode  53 = nul		section
59keycode  54 = nul		paragraph
60keycode  55 = nul		onequarter
61keycode  56 = nul		onehalf
62keycode  57 = nul		threequarters
63keycode  58 = nul		bracketleft
64keycode  59 = nul		bracketright
65keycode  60 = nul		nul
66keycode  61 = nul		diaeresis
67keycode  62 = nul		acute
68keycode  63 = nul		multiply
69keycode  64 = space		braceleft
70keycode  65 = nul		A
71keycode  66 = acircumflex	B
72keycode  67 = adiaeresis	C
73keycode  68 = agrave		D
74keycode  69 = aacute		E
75keycode  70 = atilde		F
76keycode  71 = aring		G
77keycode  72 = ccedilla		H
78keycode  73 = ntilde		I
79keycode  74 = cent		nul
80keycode  75 = period		ocircumflex
81keycode  76 = less		odiaeresis
82keycode  77 = parenleft		ograve
83keycode  78 = plus		oacute
84keycode  79 = bar		otilde
85keycode  80 = ampersand		braceright
86keycode  81 = eacute		J
87keycode  82 = acircumflex	K
88keycode  83 = ediaeresis	L
89keycode  84 = egrave		M
90keycode  85 = iacute		N
91keycode  86 = icircumflex	O
92keycode  87 = idiaeresis	P
93keycode  88 = igrave		Q
94keycode  89 = ssharp		R
95keycode  90 = exclam		onesuperior
96keycode  91 = dollar		ucircumflex
97keycode  92 = asterisk		udiaeresis
98keycode  93 = parenright	ugrave
99keycode  94 = semicolon		uacute
100keycode  95 = notsign		ydiaeresis
101keycode  96 = minus		backslash
102keycode  97 = slash		division
103keycode  98 = Acircumflex	S
104keycode  99 = Adiaeresis	T
105keycode 100 = Agrave		U
106keycode 101 = Aacute		V
107keycode 102 = Atilde		W
108keycode 103 = Aring		X
109keycode 104 = Ccedilla		Y
110keycode 105 = Ntilde		Z
111keycode 106 = brokenbar		twosuperior
112keycode 107 = comma		Ocircumflex
113keycode 108 = percent		Odiaeresis
114keycode 109 = underscore	Ograve
115keycode 110 = greater		Oacute
116keycode 111 = question		Otilde
117keycode 112 = oslash		zero
118keycode 113 = Eacute		one
119keycode 114 = Ecircumflex	two
120keycode 115 = Ediaeresis	three
121keycode 116 = Egrave		four
122keycode 117 = Iacute		five
123keycode 118 = Icircumflex	six
124keycode 119 = Idiaeresis	seven
125keycode 120 = Igrave		eight
126keycode 121 = grave		nine
127keycode 122 = colon		threesuperior
128keycode 123 = numbersign	Ucircumflex
129keycode 124 = at		Udiaeresis
130keycode 125 = apostrophe	Ugrave
131keycode 126 = equal		Uacute
132keycode 127 = quotedbl		nul
133
134# AID keys
135control keycode  74 = F22
136control keycode  75 = F23
137control keycode  76 = F24
138control keycode 107 = Control_z		# PA3
139control keycode 108 = Control_c		# PA1
140control keycode 109 = KeyboardSignal	# Clear
141control keycode 110 = Control_d		# PA2
142control keycode 122 = F10
143control keycode 123 = F11		# F11
144control keycode 124 = Last_Console	# F12
145control keycode 125 = Linefeed
146shift control keycode  65 = F13
147shift control keycode  66 = F14
148shift control keycode  67 = F15
149shift control keycode  68 = F16
150shift control keycode  69 = F17
151shift control keycode  70 = F18
152shift control keycode  71 = F19
153shift control keycode  72 = F20
154shift control keycode  73 = F21
155shift control keycode 113 = F1
156shift control keycode 114 = F2
157shift control keycode 115 = Incr_Console
158shift control keycode 116 = F4
159shift control keycode 117 = F5
160shift control keycode 118 = F6
161shift control keycode 119 = Scroll_Backward
162shift control keycode 120 = Scroll_Forward
163shift control keycode 121 = F9
164
165string F1 = "\033[[A"
166string F2 = "\033[[B"
167string F3 = "\033[[C"
168string F4 = "\033[[D"
169string F5 = "\033[[E"
170string F6 = "\033[17~"
171string F7 = "\033[18~"
172string F8 = "\033[19~"
173string F9 = "\033[20~"
174string F10 = "\033[21~"
175string F11 = "\033[23~"
176string F12 = "\033[24~"
177string F13 = "\033[25~"
178string F14 = "\033[26~"
179string F15 = "\033[28~"
180string F16 = "\033[29~"
181string F17 = "\033[31~"
182string F18 = "\033[32~"
183string F19 = "\033[33~"
184string F20 = "\033[34~"
185# string F21 ??
186# string F22 ??
187# string F23 ??
188# string F24 ??
189compose '^' 'c' to Control_c
190compose '^' 'd' to Control_d
191compose '^' 'z' to Control_z
192compose '^' '\012' to nul
193