pqrs-org / Karabiner-Elements

Karabiner-Elements is a powerful utility for keyboard customization on macOS Sierra (10.12) or later.
https://pqrs.org/osx/karabiner/
The Unlicense
18.21k stars 828 forks source link

Modifier Repeatability Issue #3839

Open Parkgrr opened 3 weeks ago

Parkgrr commented 3 weeks ago

Hey folks,

Having an issue.... I'd like to be able to hold down a modifier and repeat a complex modifier.

I'll use a duplicate command for example. I have a rule that says if I hit key "C" while holding command, it fires the keys COMMAND + D (duplicate).

Currently, if I press CMD + "C", EventViewer tells me the complex modifier fires correctly and returns CMD + D, but if I keep holding down CMD, it will just ignore the held down key and return "C" (normal no mapping response). The goal is to hold down CMD, and hit "C" multiple times, and continue to fire the complex modifier. As it is, that doesn't happen. I've had this work before, but can't seem to figure out what's going on now

This is what it looks like:

CORRECT: "type": "down",

"name": {"key_code":"left_command"},

"misc": "flags left_command"

"type": "down",

"name": {"key_code":"d"},

"misc": "flags left_command"

"type": "up",

"name": {"key_code":"d"},

"misc": "flags left_command"

"type": "up",

"name": {"key_code":"left_command"},

"misc": ""

INCORRECT (with CMD still held down) "type": "down",

"name": {"key_code":"c"},

"type": "up",

"name": {"key_code":"c"},