Replies: 4 comments 14 replies
-
|
Try mapDoubleTap("right_shift").to("f11", "fn").toIfHeldDown("right_shift") |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the response. No, it doesn't work unless I hold the shift for at least one second which is super slow specially while typing. |
Beta Was this translation helpful? Give feedback.
-
|
Hey everyone! First of all, thank you @evan-liu for this awesome project! I am just getting started, but I have tried multiple things so far and my conclusion is that §§mapDoubleTap§§ is not working as intended. I have tried a few things, among others, something like below: And here are my Neither work for me. Am I missing something? |
Beta Was this translation helpful? Give feedback.
-
|
{
"description": "mapDoubleTap()",
"manipulators": [
{
"type": "basic",
"from": { "key_code": "left_shift" },
"conditions": [
{ "type": "variable_if", "name": "double-tap-left_shift", "value": 1 }
],
"description": "__support__manipulator"
},
{
"type": "basic",
"from": { "key_code": "left_shift" },
"to": [
{ "set_variable": { "name": "double-tap-left_shift", "value": 1 } },
{ "key_code": "left_shift", "lazy": true } // 1 Quick roll over without holding down
],
"conditions": [
{
"type": "variable_unless",
"name": "double-tap-left_shift",
"value": 1
}
],
"to_delayed_action": {
"to_if_invoked": [
{ "key_code": "left_shift" }, // 2 Tap
{ "set_variable": { "name": "double-tap-left_shift", "value": 0 } }
],
"to_if_canceled": [
{ "set_variable": { "name": "double-tap-left_shift", "value": 0 } }
]
},
"to_if_held_down": [{ "key_code": "left_shift" }], // 3 Held
"parameters": {
"basic.to_if_held_down_threshold_milliseconds": 200,
"basic.to_delayed_action_delay_milliseconds": 200
}
}
]
} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
mapDoubleTapmesses up the usual key behavior (single tap/holding). For example, below config maps that the double tapping the right shift key should toggle the “show desktop” option which works. However single-tap and hold actions for right shift don’t work. So, if you press the right shift key and a regular key (right shift + a), you won’t get the output you want, like typing the capital “A”. BTW, the double tap issue is with all keys not just the right shift key.Karabiner Element:
v15.3.0karabiner.ts:
v1.30.3I have also tried the followings but didn't work either.
Am I missing something?
Thanks in advance. 🙏
Beta Was this translation helpful? Give feedback.
All reactions