This repository has been archived by the owner on Sep 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cros-standard.conf
88 lines (78 loc) · 1.72 KB
/
cros-standard.conf
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# Older Chromebooks have their top row as f1-f10 by default
# Newer Chromebooks have vivaldi (i.e. action keys instead of f-keys)
# Tigerlake and newer vivaldi Chromebooks have a new keyboard layout and are in cros-modern.conf
[ids]
# AT keyboard is device 0001:0001
0001:0001
[main]
f1 = back
f2 = forward
f3 = refresh
# KEY_FULLSCREEN isn't used by many programs -> map to F11 directly
f4 = f11
f5 = scale
f6 = brightnessdown
f7 = brightnessup
f8 = mute
f9 = volumedown
f10 = volumeup
# Make sure vivaldi keys act as normal when no mod keys are being pressed
back = back
forward = forward
refresh = refresh
# KEY_FULLSCREEN isn't used by many programs -> map to F11 directly
zoom = f11
scale = scale
brightnessdown = brightnessdown
brightnessup = brightnessup
mute = mute
volumedown = volumedown
volumeup = volumeup
# the lock button is mapped to sleep by default
sleep = coffee
# When search key is held make the top row act like function keys
[meta]
f1 = f1
f2 = f2
f3 = f3
f4 = f4
f5 = f5
f6 = f6
f7 = f7
f8 = f8
f9 = f9
f10 = f10
back = f1
forward = f2
refresh = f3
zoom = f4
scale = f5
brightnessdown = f6
brightnessup = f7
mute = f8
volumedown = f9
volumeup = f10
# no need for F11 as the fullscreen button is mapped to f11
sleep = f12
######## ChromeOS shortcuts ########
[alt]
# alt + backspace = delete
backspace = delete
# alt + meta = capslock
meta = capslock
# alt + brightness = keyboardbacklightbrightness
# vivaldi
brightnessdown = kbdillumdown
brightnessup = kbdillumup
# f-keys
f6 = kbdillumdown
f7 = kbdillumup
[control]
# control + f5 = printscreen
f5 = print
# f5 is scale on devices with vivaldi
scale = print
######## Extra shortcuts ########
[control+alt]
# Ctrl + alt + backspace = ctrl + alt + delete
backspace = C-A-delete