Added the mouse ambidextrous

This commit is contained in:
Marcin Woźniak 2022-09-03 23:25:25 +02:00
parent 29256654e3
commit 96b3c7c0a2
Signed by: y0rune
GPG Key ID: F204C385F57EB348
1 changed files with 206 additions and 0 deletions

View File

@ -0,0 +1,206 @@
{
"title": "Mouse keys ambidextrous - yorune",
"rules": [
{
"description": "Mouse keys Ambidextrous",
"manipulators": [
{
"from": {
"key_code": "k",
"modifiers": {
"mandatory": ["fn"],
"optional": ["any"]
}
},
"to": [
{
"mouse_key": {
"vertical_wheel": -64
}
}
],
"type": "basic"
},
{
"from": {
"key_code": "j",
"modifiers": {
"mandatory": ["fn"],
"optional": ["any"]
}
},
"to": [
{
"mouse_key": {
"vertical_wheel": 64
}
}
],
"type": "basic"
},
{
"from": {
"key_code": "h",
"modifiers": {
"mandatory": ["fn"],
"optional": ["any"]
}
},
"to": [
{
"mouse_key": {
"horizontal_wheel": 64
}
}
],
"type": "basic"
},
{
"from": {
"key_code": "l",
"modifiers": {
"mandatory": ["fn"],
"optional": ["any"]
}
},
"to": [
{
"mouse_key": {
"horizontal_wheel": -64
}
}
],
"type": "basic"
},
{
"from": {
"key_code": "u",
"modifiers": {
"mandatory": ["left_control", "left_shift"],
"optional": ["any"]
}
},
"to": [
{
"pointing_button": "button1"
}
],
"type": "basic"
},
{
"from": {
"key_code": "o",
"modifiers": {
"mandatory": ["left_control", "left_shift"],
"optional": ["any"]
}
},
"to": [
{
"pointing_button": "button2"
}
],
"type": "basic"
},
{
"from": {
"key_code": "h",
"modifiers": {
"mandatory": ["left_control", "left_shift"],
"optional": ["any"]
}
},
"to": [
{
"mouse_key": {
"x": -1018
}
}
],
"type": "basic"
},
{
"from": {
"key_code": "j",
"modifiers": {
"mandatory": ["left_control", "left_shift"],
"optional": ["any"]
}
},
"to": [
{
"mouse_key": {
"y": 1018
}
}
],
"type": "basic"
},
{
"from": {
"key_code": "k",
"modifiers": {
"mandatory": ["left_control", "left_shift"],
"optional": ["any"]
}
},
"to": [
{
"mouse_key": {
"y": -1018
}
}
],
"type": "basic"
},
{
"from": {
"key_code": "l",
"modifiers": {
"mandatory": ["left_control", "left_shift"],
"optional": ["any"]
}
},
"to": [
{
"mouse_key": {
"x": 1018
}
}
],
"type": "basic"
},
{
"from": {
"key_code": "q",
"modifiers": {
"mandatory": ["left_control", "left_shift"],
"optional": ["any"]
}
},
"to": [
{
"pointing_button": "button1"
}
],
"type": "basic"
},
{
"from": {
"key_code": "e",
"modifiers": {
"mandatory": ["left_control", "left_shift"],
"optional": ["any"]
}
},
"to": [
{
"pointing_button": "button2"
}
],
"type": "basic"
}
]
}
]
}