-
Notifications
You must be signed in to change notification settings - Fork 0
/
local.hidutil.keymapping.plist.deprecated
51 lines (51 loc) · 1.89 KB
/
local.hidutil.keymapping.plist.deprecated
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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!--
Remap some feature keys on M-series MacBooks to F13+ function keys,
which are supported by macOS but not present on the laptop keyboard.
These keys can then be bind to perform any custom action, e.g. to quickly open Terminal.app.
Use https://hidutil-generator.netlify.app to create your own key mapping.
-->
<key>Label</key>
<string>local.hidutil.keymapping</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/hidutil</string>
<string>property</string>
<string>--set</string>
<!--
Mission Control (F3) -> F15
Spotlight (F4) -> F16
Dictation (F5) -> F17
Do Not Disturb (F6) -> F18
-->
<string>
{
"UserKeyMapping":
[
{
"HIDKeyboardModifierMappingSrc": 0xFF0100000010,
"HIDKeyboardModifierMappingDst": 0x70000006A
},
{
"HIDKeyboardModifierMappingSrc": 0x0C00000221,
"HIDKeyboardModifierMappingDst": 0x70000006B
},
{
"HIDKeyboardModifierMappingSrc": 0x0C000000CF,
"HIDKeyboardModifierMappingDst": 0x70000006C
},
{
"HIDKeyboardModifierMappingSrc": 0x010000009B,
"HIDKeyboardModifierMappingDst": 0x70000006D
}
]
}
</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>