Added Karabiner modification files

This commit is contained in:
Thomas Naderer
2024-12-18 17:25:30 +01:00
parent e870d7408b
commit 8a84959bdd
10 changed files with 7488 additions and 0 deletions

View File

@@ -0,0 +1,70 @@
{
"title": "Left ctrl + hjkl to Arrow Keys Vim",
"rules": [
{
"description": "Left ctrl + hjkl to arrow keys Vim",
"manipulators": [
{
"from": {
"key_code": "h",
"modifiers": {
"mandatory": ["left_control"],
"optional": ["any"]
}
},
"to": [
{
"key_code": "left_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "j",
"modifiers": {
"mandatory": ["left_control"],
"optional": ["any"]
}
},
"to": [
{
"key_code": "down_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "k",
"modifiers": {
"mandatory": ["left_control"],
"optional": ["any"]
}
},
"to": [
{
"key_code": "up_arrow"
}
],
"type": "basic"
},
{
"from": {
"key_code": "l",
"modifiers": {
"mandatory": ["left_control"],
"optional": ["any"]
}
},
"to": [
{
"key_code": "right_arrow"
}
],
"type": "basic"
}
]
}
]
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,35 @@
{
"title": "Trackball tools",
"rules": [
{
"description": "The wheel click is fired by pressing the left and right buttons simultaneously.",
"manipulators": [
{
"type": "basic",
"from": {
"simultaneous": [
{ "pointing_button": "button1" },
{ "pointing_button": "button2" }
],
"simultaneous_options": {
"key_up_when": "all"
},
"modifiers": {
"mandatory": [
],
"optional": [
]
}
},
"to": [
{
"pointing_button": "button3",
"modifiers": [
]
}
]
}
]
}
]
}

View 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"
]
}
}
}
]
}
]
}