Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Karabiner configuration file for Motospeed CK62 mechanical keyboard
{
"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"
}
]
}
]
}
@jsanta
Copy link
Author

jsanta commented Feb 26, 2021

  • Install Karabiner
  • Copy this file to ~/.config/karabiner/assets/complex_modifications

A few extra notes:

  • The layout is "optimized" for English international where ' vowel places accented vowels
  • It tries to emulate the Apple keyboard layout, so if you're using this keyboard with a Mac, my humble advice is to take the physical right modifier keys from the CK62 and replace them in the following order: Control (will act as a Command Key, just didn't have an extra one) , Alt, Fn, Menu (Menu is now the original CK62 Fn key)
  • The native Fn key in the keyboard will not be mapped to real keys or key combinations, in my case I use it only for pairing Bluetooth, or change the light pattern.
  • Menu key is changed to act as Right Alt/Option
  • F1 to F12 keys require the FN + number keys to be pressed (remember that the FN key is now placed where the Right Ctrl key was)
  • Extra F1..12 functions (as the ones in the Apple Keyboard) require the F1..12 combination + Left Control.
  • Control + Esc will show a ` . Most modifications also include a Shift + Esc for the ~ kay, but you can get the same using Right Alt + n + space

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 ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment