1
0
mirror of https://github.com/danbee/dotfiles-local synced 2025-03-04 08:49:07 +00:00

Add fn+(7890-=) for media keys

This commit is contained in:
Daniel Barber 2017-12-20 11:29:25 -05:00
parent d091a7829e
commit 751276f579
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -12,6 +12,71 @@
"basic.to_if_alone_timeout_milliseconds": 1000 "basic.to_if_alone_timeout_milliseconds": 1000
}, },
"rules": [ "rules": [
{
"description": "Fn + numbers to media keys",
"manipulators": [
{
"from": {
"key_code": "7",
"modifiers": { "mandatory": ["fn"] }
},
"to": [
{ "key_code": "rewind" }
],
"type": "basic"
},
{
"from": {
"key_code": "8",
"modifiers": { "mandatory": ["fn"] }
},
"to": [
{ "key_code": "play_or_pause" }
],
"type": "basic"
},
{
"from": {
"key_code": "9",
"modifiers": { "mandatory": ["fn"] }
},
"to": [
{ "key_code": "fastforward" }
],
"type": "basic"
},
{
"from": {
"key_code": "0",
"modifiers": { "mandatory": ["fn"] }
},
"to": [
{ "key_code": "mute" }
],
"type": "basic"
},
{
"from": {
"key_code": "hyphen",
"modifiers": { "mandatory": ["fn"] }
},
"to": [
{ "key_code": "volume_decrement" }
],
"type": "basic"
},
{
"from": {
"key_code": "equal_sign",
"modifiers": { "mandatory": ["fn"] }
},
"to": [
{ "key_code": "volume_increment" }
],
"type": "basic"
}
]
},
{ {
"description": "Change right option into hyper key", "description": "Change right option into hyper key",
"manipulators": [ "manipulators": [