-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKeyboards.txt
38 lines (27 loc) · 875 Bytes
/
Keyboards.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Content-Type: text/x-zim-wiki
Wiki-Format: zim 0.6
Creation-Date: 2021-03-13T00:00:22+00:00
====== Keyboards ======
Created Saturday 13 March 2021
Keyboard emits scan code
scan code is interpreted as key code by kernel
key code is mapped to output by OS
key code mappings are stored in keymap files in /usr/share/kbd/keymaps
notably, i386/qwerty/ and sun/ dirs
"strings as usual" refers to ancient strings from VT102 - for escape codes and such
In bash:
$ bind '"\e[24~":"foobar"'
outputs foobar
$ bind -x '"\eW":"who"'
executes who
need to find how to add that to a keymap
for mouse:
change profile button is event19
all other buttons event18
pointer event17
in libinput
sway inputs has 4 profiles, 2 consumer control 2 normal
unsure how corresponds to libinput
event19 is a consumer control button
for keyboard
can't find macro keys in libinput