Created
November 12, 2018 15:59
-
-
Save keyakko/8750294dc29be6f885e6f3b68096c9fc to your computer and use it in GitHub Desktop.
karabiner-HHKB-function
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": "Happy Hacking Keyboard Compatible Mode (for keyakko)", | |
"rules": [ | |
{ | |
"description": "Map fn + 1~9, 0, -, = to F1 ~ F12.", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "1", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"caps_lock", | |
"option", | |
"command", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f1" | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "2", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"caps_lock", | |
"option", | |
"command", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f2" | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "3", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"caps_lock", | |
"option", | |
"command", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f3" | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "4", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"caps_lock", | |
"option", | |
"command", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f4" | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "5", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"caps_lock", | |
"option", | |
"command", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f5" | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "6", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"caps_lock", | |
"option", | |
"command", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f6" | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "7", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"caps_lock", | |
"option", | |
"command", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f7" | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "8", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"caps_lock", | |
"option", | |
"command", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f8" | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "9", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"caps_lock", | |
"option", | |
"command", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f9" | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "0", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"caps_lock", | |
"option", | |
"command", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f10" | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "hyphen", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"caps_lock", | |
"option", | |
"command", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f11" | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "equal_sign", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
], | |
"optional": [ | |
"caps_lock", | |
"option", | |
"command", | |
"shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "f12" | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment