Last active
October 9, 2019 01:46
-
-
Save soomtong/f8dd5cc9fe27944bcbb3e7fd5cc94769 to your computer and use it in GitHub Desktop.
GK868B key layout for macOS
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": "GK868B for macOS", | |
| "rules": [ | |
| { | |
| "description": "capslock to f16", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "caps_lock" | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "f16" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "shift + esc to tilde", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "escape", | |
| "modifiers": { | |
| "mandatory": [ | |
| "shift" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "grave_accent_and_tilde", | |
| "modifiers": [ | |
| "shift" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "option + esc to option + tilde", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "escape", | |
| "modifiers": { | |
| "mandatory": [ | |
| "option" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "grave_accent_and_tilde", | |
| "modifiers": [ | |
| "option" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "ctrl + esc to ctrl + tilde", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "escape", | |
| "modifiers": { | |
| "mandatory": [ | |
| "control" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "grave_accent_and_tilde", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "cmd + esc to backtick", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "escape", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "grave_accent_and_tilde", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "cmd + shift + esc to backtick", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "escape", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command", | |
| "shift" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "grave_accent_and_tilde" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "shift + capslock to capslock", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "caps_lock", | |
| "modifiers": { | |
| "mandatory": [ | |
| "shift" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "caps_lock", | |
| "modifiers": [ | |
| "vk_none" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "ctrl + cmd delete to delete forward", | |
| "manipulators": [ | |
| { | |
| "from": { | |
| "key_code": "delete_or_backspace", | |
| "modifiers": { | |
| "mandatory": [ | |
| "left_command", | |
| "left_control" | |
| ], | |
| "optional": [ | |
| "any" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "delete_forward" | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Notification and Launchpad", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "insert", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "f15", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "delete_forward", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ] | |
| } | |
| }, | |
| "to": [ | |
| { | |
| "key_code": "launchpad" | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment