Skip to content

Instantly share code, notes, and snippets.

@nanonanomachine
Created May 2, 2019 10:33
Show Gist options
  • Save nanonanomachine/fa604f12c99b2b9c345e4a0329065027 to your computer and use it in GitHub Desktop.
Save nanonanomachine/fa604f12c99b2b9c345e4a0329065027 to your computer and use it in GitHub Desktop.
Karabiner Complex Modification Setting which makes Meishi keyboard to operate Spectacle
{
"title": "Meishi",
"rules": [
{
"description": "Meishi as Spectacle operation",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "a",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": [
"left_command",
"left_option"
]
}
],
"conditions": [
{
"type": "device_if",
"identifiers": [
{
"vendor_id": 48194,
"product_id": 2,
"description": "Meishi"
}
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "b",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": [
"left_command",
"left_option"
]
}
],
"conditions": [
{
"type": "device_if",
"identifiers": [
{
"vendor_id": 48194,
"product_id": 2,
"description": "Meishi"
}
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "c",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "c",
"modifiers": [
"left_command",
"left_option"
]
}
],
"conditions": [
{
"type": "device_if",
"identifiers": [
{
"vendor_id": 48194,
"product_id": 2,
"description": "Meishi"
}
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "d",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f",
"modifiers": [
"left_command",
"left_option"
]
}
],
"conditions": [
{
"type": "device_if",
"identifiers": [
{
"vendor_id": 48194,
"product_id": 2,
"description": "Meishi"
}
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment