Add keymaps

This commit is contained in:
Ondrej Jirman 2021-06-14 13:31:54 +02:00
parent 8250f31e2b
commit 717cfd6526
4 changed files with 124 additions and 0 deletions

BIN
inputd/factory-keymap.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 KiB

63
inputd/factory-keymap.txt Normal file
View file

@ -0,0 +1,63 @@
# physical layout Row:Col -> KEY COMBO_KEY1 COMBO_KEY2
# combo1 is using FN key, combo2 is using PINE key
# see factory-keymap.jpg
# https://elixir.bootlin.com/linux/latest/source/include/uapi/linux/input-event-codes.h#L76
1:1 ESC
1:2 1 LEFTSHIFT+BACKSLASH F1
1:3 2 BACKSLASH F2
1:4 3 KEY_DOLLAR F3 # pound, really, but who uses that? also it doesn't have a keycode in Linux
1:5 4 KEY_EURO F4
1:6 5 SHFIT+GRAVE F5
1:7 6 GRAVE F6
1:8 7 MINUS F7
1:9 8 EQUAL F8
1:10 9 SHIFT+MINUS F9
1:11 0 PLUS F10
1:12 BACKSPACE DELETE
2:1 TAB
2:2 Q
2:3 W
2:4 E
2:5 R
2:6 T
2:7 Y
2:8 U
2:9 I
2:10 O
2:11 P
2:12 ENTER
3:1 PINE SHIFT+SYSRQ
3:2 A
3:3 S
3:4 D
3:5 F
3:6 G
3:7 H
3:8 J
3:9 K
3:10 L
3:11 SEMICOLON INSERT
4:1 LEFTSHIFT
4:2 Z
4:3 X
4:4 C
4:5 V
4:6 B
4:7 N
4:8 M
4:9 COMMA HOME
4:10 DOT UP
4:11 SLASH END
5:1 LEFTCTRL
5:2 FN
5:3 LEFTALT
5:4 SPACE
5:5 RIGHTALT
5:6 APOSTROPHE LEFT
5:7 LEFTBRACE DOWN
5:8 RIGHTBRACE RIGHT

BIN
inputd/physical-map.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB

61
inputd/physical-map.txt Normal file
View file

@ -0,0 +1,61 @@
# physical layout Row:Col -> electrical Row:Col
# see physical-map.jpg
1:1 1:1
1:2 1:2
1:3 1:3
1:4 1:4
1:5 1:5
1:6 1:6
1:7 1:7
1:8 1:8
1:9 1:9
1:10 1:10
1:11 1:11
1:12 1:12
2:1 2:1
2:2 2:2
2:3 2:3
2:4 2:4
2:5 2:5
2:6 2:6
2:7 2:7
2:8 2:8
2:9 2:9
2:10 2:10
2:11 2:11
2:12 2:12
3:1 3:1
3:2 3:2
3:3 3:3
3:4 3:4
3:5 3:5
3:6 3:6
3:7 3:7
3:8 3:8
3:9 3:9
3:10 3:10
3:11 3:11
4:1 4:1
4:2 4:2
4:3 4:3
4:4 4:4
4:5 4:5
4:6 4:6
4:7 4:7
4:8 4:8
4:9 4:9
4:10 4:10
4:11 4:11
5:1 5:2
5:2 6:3
5:3 6:4
5:4 5:5
5:5 6:6
5:6 5:7
5:7 5:10
5:8 5:9