Skip to content

Instantly share code, notes, and snippets.

@inureyes
Created June 13, 2019 02:14
Show Gist options
  • Save inureyes/527bf8b610dec3b53544c175b324ec96 to your computer and use it in GitHub Desktop.
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)
{
"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
}
]
}
]
}
]
}
]
}
@totuworld
Copy link

감사합니다. 덕분에 키보드 쓸 수 있네요.

@totuworld-woowa
Copy link

폴더 경로가 바뀌었나봅니다.
아래 경로에 파일 넣어야 작동하네요.

~/.config/karabiner/assets/complex_modifications
1. put it in .config/karabiner/complex_modifications

2. Launch karabiner-elements

3. Choose `Complex Modification` tab

4. Push 'Add rule` at the left bottom corner

5. Choose and enable rules in `Vinpok  Taptek (left shift patch)`

6. You are all set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment