Skip to content

Instantly share code, notes, and snippets.

@Nezteb
Last active March 19, 2023 09:03
Show Gist options
  • Save Nezteb/e095a16f1df39bb5f5cec4fec4599471 to your computer and use it in GitHub Desktop.
Save Nezteb/e095a16f1df39bb5f5cec4fec4599471 to your computer and use it in GitHub Desktop.
{
"title": "Add ctrl/fn/cmd + left click -> right click",
"rules": [
{
"description": "ctrl+left click to right click",
"manipulators": [
{
"type": "basic",
"from": {
"pointing_button": "button1",
"modifiers": {
"mandatory": [
"left_control"
]
}
},
"to": [
{
"pointing_button": "button2",
"repeat": false
}
]
}
]
},
{
"description": "fn+left click to right click",
"manipulators": [
{
"type": "basic",
"from": {
"modifiers": {
"mandatory": [
"fn"
]
},
"pointing_button": "button1"
},
"to": [
{
"repeat": false,
"pointing_button": "button2"
}
]
}
]
},
{
"description": "cmd+left click to right click",
"manipulators": [
{
"type": "basic",
"from": {
"modifiers": {
"mandatory": [
"left_gui"
]
},
"pointing_button": "button1"
},
"to": [
{
"repeat": false,
"pointing_button": "button2"
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment