Added Karabiner modification files
This commit is contained in:
190
karabiner/assets/complex_modifications/1734348385.json
Normal file
190
karabiner/assets/complex_modifications/1734348385.json
Normal file
@@ -0,0 +1,190 @@
|
||||
{
|
||||
"title": "Change mouse motion to scroll (rev 3)",
|
||||
"maintainers": [
|
||||
"tekezo"
|
||||
],
|
||||
"rules": [
|
||||
{
|
||||
"description": "Change button3 + mouse motion to scroll wheel (rev 1)",
|
||||
"available_since": "12.3.0",
|
||||
"manipulators": [
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"pointing_button": "button3",
|
||||
"modifiers": {
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"set_variable": {
|
||||
"name": "enable_mouse_motion_to_scroll",
|
||||
"value": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"to_after_key_up": [
|
||||
{
|
||||
"set_variable": {
|
||||
"name": "enable_mouse_motion_to_scroll",
|
||||
"value": 0
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "mouse_motion_to_scroll",
|
||||
"from": {
|
||||
"modifiers": {
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"conditions": [
|
||||
{
|
||||
"type": "variable_if",
|
||||
"name": "enable_mouse_motion_to_scroll",
|
||||
"value": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Change button4 + mouse motion to scroll wheel (rev 1)",
|
||||
"available_since": "12.3.0",
|
||||
"manipulators": [
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"pointing_button": "button4",
|
||||
"modifiers": {
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"set_variable": {
|
||||
"name": "enable_mouse_motion_to_scroll",
|
||||
"value": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"to_after_key_up": [
|
||||
{
|
||||
"set_variable": {
|
||||
"name": "enable_mouse_motion_to_scroll",
|
||||
"value": 0
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "mouse_motion_to_scroll",
|
||||
"from": {
|
||||
"modifiers": {
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"conditions": [
|
||||
{
|
||||
"type": "variable_if",
|
||||
"name": "enable_mouse_motion_to_scroll",
|
||||
"value": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Change button5 + mouse motion to scroll wheel (rev 1)",
|
||||
"available_since": "12.3.0",
|
||||
"manipulators": [
|
||||
{
|
||||
"type": "basic",
|
||||
"from": {
|
||||
"pointing_button": "button5",
|
||||
"modifiers": {
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"to": [
|
||||
{
|
||||
"set_variable": {
|
||||
"name": "enable_mouse_motion_to_scroll",
|
||||
"value": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"to_after_key_up": [
|
||||
{
|
||||
"set_variable": {
|
||||
"name": "enable_mouse_motion_to_scroll",
|
||||
"value": 0
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "mouse_motion_to_scroll",
|
||||
"from": {
|
||||
"modifiers": {
|
||||
"optional": [
|
||||
"any"
|
||||
]
|
||||
}
|
||||
},
|
||||
"conditions": [
|
||||
{
|
||||
"type": "variable_if",
|
||||
"name": "enable_mouse_motion_to_scroll",
|
||||
"value": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Change control + mouse motion to scroll wheel (rev 1)",
|
||||
"available_since": "12.3.0",
|
||||
"manipulators": [
|
||||
{
|
||||
"type": "mouse_motion_to_scroll",
|
||||
"from": {
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"control"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Change fn + mouse motion to scroll wheel (rev 1)",
|
||||
"available_since": "12.3.0",
|
||||
"manipulators": [
|
||||
{
|
||||
"type": "mouse_motion_to_scroll",
|
||||
"from": {
|
||||
"modifiers": {
|
||||
"mandatory": [
|
||||
"fn"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user