Created
June 13, 2019 02:14
-
-
Save inureyes/527bf8b610dec3b53544c175b324ec96 to your computer and use it in GitHub Desktop.
Ultimate VInpok taptic patch for right shift using karabiner-element (put it in .config/karabiner/complex_modifications)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Vinpok Taptek (left shift patch)", | |
"rules": [ | |
{ | |
"description": "Up arrow as it is if type alone, otherwise work as shift (Bluetooth)", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "up_arrow", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"parameters": { | |
"basic.to_if_alone_timeout_milliseconds": 250, | |
"basic.to_if_held_down_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"key_code": "right_shift", | |
"lazy": true | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "up_arrow" | |
} | |
], | |
"to_if_held_down": [ | |
{ | |
"key_code": "up_arrow" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"is_keyboard": true, | |
"is_pointing_device": false, | |
"product_id": 597, | |
"vendor_id": 1452 | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Up arrow as it is if type alone, otherwise work as shift (USB)", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "up_arrow", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"parameters": { | |
"basic.to_if_alone_timeout_milliseconds": 250, | |
"basic.to_if_held_down_threshold_milliseconds": 250 | |
}, | |
"to": [ | |
{ | |
"key_code": "right_shift", | |
"lazy": true | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "up_arrow" | |
} | |
], | |
"to_if_held_down": [ | |
{ | |
"key_code": "up_arrow" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "device_if", | |
"identifiers": [ | |
{ | |
"is_keyboard": true, | |
"is_pointing_device": false, | |
"product_id": 598, | |
"vendor_id": 1452 | |
} | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
폴더 경로가 바뀌었나봅니다.
아래 경로에 파일 넣어야 작동하네요.