@
zeropercenthappy 是的,我只发了前面我乱改的上来😂这是拿模板改的,个人实在不懂
{
"description": "Double spacebar to become left_option+0. Once released, returns to spacebar. ",
"manipulators": [
{
"conditions": [
{
"name": "spacebar pressed",
"type": "variable_if",
"value": 1
"bundle_identifiers": [
"^com.sketchup.SketchUp.2021"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "spacebar",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f12",
"modifiers": [
"left_option"
],
"repeat": false
}
],
"type": "basic"
},
{
"from": {
"key_code": "spacebar",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"set_variable": {
"name": "spacebar pressed",
"value": 1
}
},
{
"key_code": "spacebar"
}
],
"to_delayed_action": {
"to_if_canceled": [
{
"set_variable": {
"name": "spacebar pressed",
"value": 0
}
}
],
"to_if_invoked": [
{
"set_variable": {
"name": "spacebar pressed",
"value": 0
}
}
]
},
"type": "basic"
}
]
},