Pārlūkot izejas kodu

[console] Add "no_latin1" keymap

The "no" keymap is for a Dvorak keyboard.

Reported-by: Robin Smidsrød <robin@smidsrod.no>
Tested-by: Robin Smidsrød <robin@smidsrod.no>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 12 gadus atpakaļ
vecāks
revīzija
e7d4d69031
1 mainītis faili ar 34 papildinājumiem un 0 dzēšanām
  1. 34
    0
      src/hci/keymap/keymap_no-latin1.c

+ 34
- 0
src/hci/keymap/keymap_no-latin1.c Parādīt failu

@@ -0,0 +1,34 @@
1
+/** @file
2
+ *
3
+ * "no-latin1" keyboard mapping
4
+ *
5
+ * This file is automatically generated; do not edit
6
+ *
7
+ */
8
+
9
+FILE_LICENCE ( PUBLIC_DOMAIN );
10
+
11
+#include <ipxe/keymap.h>
12
+
13
+/** "no-latin1" keyboard mapping */
14
+struct key_mapping no_latin1_mapping[] __keymap = {
15
+	{ 0x26, 0x2f },	/* '&' => '/' */
16
+	{ 0x28, 0x29 },	/* '(' => ')' */
17
+	{ 0x29, 0x3d },	/* ')' => '=' */
18
+	{ 0x2a, 0x28 },	/* '*' => '(' */
19
+	{ 0x2b, 0x60 },	/* '+' => '`' */
20
+	{ 0x2d, 0x2b },	/* '-' => '+' */
21
+	{ 0x2f, 0x2d },	/* '/' => '-' */
22
+	{ 0x3c, 0x3b },	/* '<' => ';' */
23
+	{ 0x3d, 0x5c },	/* '=' => '\\' */
24
+	{ 0x3e, 0x3a },	/* '>' => ':' */
25
+	{ 0x3f, 0x5f },	/* '?' => '_' */
26
+	{ 0x40, 0x22 },	/* '@' => '"' */
27
+	{ 0x5c, 0x27 },	/* '\\' => '\'' */
28
+	{ 0x5d, 0x7e },	/* ']' => '~' */
29
+	{ 0x5e, 0x26 },	/* '^' => '&' */
30
+	{ 0x5f, 0x3f },	/* '_' => '?' */
31
+	{ 0x60, 0x7c },	/* '`' => '|' */
32
+	{ 0x7c, 0x2a },	/* '|' => '*' */
33
+	{ 0x7d, 0x5e },	/* '}' => '^' */
34
+};

Notiek ielāde…
Atcelt
Saglabāt