commit 67924ac64eae5a4e3f3c4d7a7e8f339071e9ecc4
parent fddd18585bd385b7d1e1d4c4285193e47e9f9e10
Author: Alex Balgavy <alex@balgavy.eu>
Date: Thu, 19 May 2022 20:07:15 +0200
karabiner: modification to train correct shift key
Diffstat:
2 files changed, 430 insertions(+), 4 deletions(-)
diff --git a/karabiner/assets/complex_modifications/1652687100.json b/karabiner/assets/complex_modifications/1652687100.json
@@ -0,0 +1,426 @@
+{
+ "title": "Shift key training wheels",
+ "rules": [
+ {
+ "description": "Disable incorrect shift + letter combos",
+ "manipulators": [
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "q",
+ "modifiers": {
+ "mandatory": [
+ "left_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "w",
+ "modifiers": {
+ "mandatory": [
+ "left_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "e",
+ "modifiers": {
+ "mandatory": [
+ "left_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "r",
+ "modifiers": {
+ "mandatory": [
+ "left_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "t",
+ "modifiers": {
+ "mandatory": [
+ "left_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "a",
+ "modifiers": {
+ "mandatory": [
+ "left_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "s",
+ "modifiers": {
+ "mandatory": [
+ "left_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "d",
+ "modifiers": {
+ "mandatory": [
+ "left_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "f",
+ "modifiers": {
+ "mandatory": [
+ "left_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "g",
+ "modifiers": {
+ "mandatory": [
+ "left_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "z",
+ "modifiers": {
+ "mandatory": [
+ "left_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "x",
+ "modifiers": {
+ "mandatory": [
+ "left_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "c",
+ "modifiers": {
+ "mandatory": [
+ "left_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "v",
+ "modifiers": {
+ "mandatory": [
+ "left_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "b",
+ "modifiers": {
+ "mandatory": [
+ "right_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "h",
+ "modifiers": {
+ "mandatory": [
+ "right_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "i",
+ "modifiers": {
+ "mandatory": [
+ "right_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "j",
+ "modifiers": {
+ "mandatory": [
+ "right_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "k",
+ "modifiers": {
+ "mandatory": [
+ "right_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "l",
+ "modifiers": {
+ "mandatory": [
+ "right_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "m",
+ "modifiers": {
+ "mandatory": [
+ "right_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "n",
+ "modifiers": {
+ "mandatory": [
+ "right_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "o",
+ "modifiers": {
+ "mandatory": [
+ "right_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "p",
+ "modifiers": {
+ "mandatory": [
+ "right_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "u",
+ "modifiers": {
+ "mandatory": [
+ "right_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ },
+ {
+ "type": "basic",
+ "from": {
+ "key_code": "y",
+ "modifiers": {
+ "mandatory": [
+ "right_shift"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "vk_none"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}
diff --git a/karabiner/karabiner.json b/karabiner/karabiner.json
@@ -759,21 +759,21 @@
"simple_modifications": [
{
"from": {
- "key_code": "f10"
+ "consumer_key_code": "eject"
},
"to": [
{
- "consumer_key_code": "mute"
+ "key_code": "f13"
}
]
},
{
"from": {
- "consumer_key_code": "eject"
+ "key_code": "f10"
},
"to": [
{
- "key_code": "f13"
+ "consumer_key_code": "mute"
}
]
}