a simple modification is easy to do caps_lock->left click, but I'm not quite sure how to allow a modifier
I came up with the following, but it didn't work (but at least you can see that I tried lol)
{
"description": "caps_lock=>left_click, command+caps_lock=>right click",
"from": {
"key_code": "caps_lock",
"modifiers": {
"optional": [
"right_command"
]
}
},
"to": [
{
"pointing_button": "button2"
}
],
"to_if_alone": [
{
"pointing_button": "button1"
}
],
"type": "basic"
}
]
}
I think this is close but I'm not sure. any help? :)