Skip to content

Instantly share code, notes, and snippets.

@adeonhy
Created July 11, 2018 01:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adeonhy/76b0426b1a344363e53db75bb455873b to your computer and use it in GitHub Desktop.
Save adeonhy/76b0426b1a344363e53db75bb455873b to your computer and use it in GitHub Desktop.
Karabiner-Elementsでマウスのボタン4/5にキー割り当て
{
"title": "マウスのButton4/5にキーを割り当てる",
"rules": [
{
"description": "Button5 -> Cmd-h, Button4 -> Cmd-l",
"manipulators": [
{
"type": "basic",
"from": {
"pointing_button": "button5"
},
"to": [
{
"key_code": "h",
"modifiers": [
"command"
]
}
]
},
{
"type": "basic",
"from": {
"pointing_button": "button4"
},
"to": [
{
"key_code": "l",
"modifiers": [
"command"
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment