Last active
May 3, 2018 10:21
-
-
Save aurimasniekis/bca28acc8e461392c04e0e369068579e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Control + Function Keys to Media Control", | |
"rules": [ | |
{ | |
"description": "fn + f1 to display_brightness_decrement", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f1", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "display_brightness_decrement" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "fn + f2 to display_brightness_increment", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f2", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "display_brightness_increment" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "fn + f3 to mission_control", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f3", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "mission_control" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "fn + f4 to launchpad", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f4", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "launchpad" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "fn + f7 to rewind", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f7", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "rewind" | |
} | |
] | |
} | |
] | |
} , | |
{ | |
"description": "fn + f8 to play_or_pause", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f8", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "play_or_pause" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "fn + f9 to fastforward", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f9", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "fastforward" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "fn + f10 to mute", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f10", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "mute" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "fn + f11 to volume_decrement", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f11", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "volume_decrement" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "fn + f12 to volume_increment", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f12", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "volume_increment" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "left_control + f1 to display_brightness_decrement", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f1", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "display_brightness_decrement" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "left_control + f2 to display_brightness_increment", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f2", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "display_brightness_increment" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "left_control + f3 to mission_control", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f3", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "mission_control" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "left_control + f4 to launchpad", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f4", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "launchpad" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "left_control + f7 to rewind", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f7", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "rewind" | |
} | |
] | |
} | |
] | |
} , | |
{ | |
"description": "left_control + f8 to play_or_pause", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f8", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "play_or_pause" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "left_control + f9 to fastforward", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f9", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "fastforward" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "left_control + f10 to mute", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f10", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "mute" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "left_control + f11 to volume_decrement", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f11", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "volume_decrement" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "left_control + f12 to volume_increment", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "f12", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "volume_increment" | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment