Created
February 26, 2021 15:52
-
-
Save jsanta/5cc704d0b7b4357a2b690725de695462 to your computer and use it in GitHub Desktop.
Karabiner configuration file for Motospeed CK62 mechanical keyboard
This file contains hidden or 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": "Motospeed CK62 nearly as Apple keyboard", | |
"rules": [ | |
{ | |
"description": "Modifiers position: Left Ctrl Alt/Option Command - Right Command Alt/Option Fn (CK62 Fn key is unused)", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "application" | |
}, | |
"to": [ | |
{ | |
"key_code": "right_option" | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_command" | |
}, | |
"to": [ | |
{ | |
"key_code": "left_option" | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_option" | |
}, | |
"to": [ | |
{ | |
"key_code": "left_command" | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "right_control" | |
}, | |
"to": [ | |
{ | |
"apple_vendor_top_case_key_code": "keyboard_fn" | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "right_option" | |
}, | |
"to": [ | |
{ | |
"key_code": "right_command" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Arrow keys using control left + right modifiers and /", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "slash", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "up_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "right_gui", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "right_alt", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "down_arrow" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "fn", | |
"modifiers": { | |
"mandatory": [ | |
"left_control" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_arrow" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Media control keys using 1..0 - = and Left Control + FN", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "1", | |
"modifiers": { | |
"mandatory": [ | |
"left_control", | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "display_brightness_decrement" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "2", | |
"modifiers": { | |
"mandatory": [ | |
"left_control", | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "display_brightness_increment" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "3", | |
"modifiers": { | |
"mandatory": [ | |
"left_control", | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "mission_control" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "4", | |
"modifiers": { | |
"mandatory": [ | |
"left_control", | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "launchpad" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "5", | |
"modifiers": { | |
"mandatory": [ | |
"left_control", | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "illumination_decrement" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "6", | |
"modifiers": { | |
"mandatory": [ | |
"left_control", | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "illumination_increment" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "7", | |
"modifiers": { | |
"mandatory": [ | |
"left_control", | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "rewind" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "8", | |
"modifiers": { | |
"mandatory": [ | |
"left_control", | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "play_or_pause" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "9", | |
"modifiers": { | |
"mandatory": [ | |
"left_control", | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "fastforward" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "0", | |
"modifiers": { | |
"mandatory": [ | |
"left_control", | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "mute" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "hyphen", | |
"modifiers": { | |
"mandatory": [ | |
"left_control", | |
"fn" | |
], | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "volume_decrement" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"from": { | |
"key_code": "equal_sign", | |
"modifiers": { | |
"mandatory": [ | |
"left_control", | |
"fn" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "volume_increment" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Change right_command to left_arrow if pressed alone", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "right_gui", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_gui" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "left_arrow" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Change fn to right_arrow if pressed alone", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "fn", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "fn" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "right_arrow" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Change right_option to down_arrow if pressed alone", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "right_alt", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_alt" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "down_arrow" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Control + Esc to `", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "escape", | |
"modifiers": { | |
"mandatory": [ | |
"control" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "grave_accent_and_tilde", | |
"modifiers": [] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A few extra notes:
Remember that when you bought this keyboard you opted for a 60% keyboard lacking from many keys, so there may be many kay shortcuts in many apps that won't work as usual. This is not the keyboard's fault.
And yes, I would also like that the Fn key worked out of the box but ...