keyd icon indicating copy to clipboard operation
keyd copied to clipboard

Fails to detect caps+shift+x

Open zzhixin opened this issue 5 months ago • 4 comments

Description

With capslock overloading control and esc, Caps+Shift+x doesn't work. While other combs such as Caps+Shift+[asdfghjk] works just as intended - to mimic Ctrl+Shift+[sdfghjk]. And Ctrl+shift+x also works fine.

To Reproduce

  1. Open vscode keyboard shorcuts setting
  2. Select recording keys
  3. Press Caps+Shift+x, Ctrl+Shift captured, no x
  4. Clear text box
  5. Press Caps+Shift+e, Ctrl+Shift+e captured
  6. Clear text box
  7. Press Ctrl+Shift+x, Ctrl+Shift+x captured

Screenshots

step 3: Image step 5: Image step 7: Image

Environment

  • keyd version: 2.5.0
  • Kernel: Linux x64 6.8.0-60-generic
  • Distribution: Ubuntu 22.04

/etc/keyd/default.conf:

[ids]

*

[main]

# Maps capslock to escape when pressed and control when held.
capslock = overload(control, esc)

# Remaps the escape key to capslock
esc = capslock

zzhixin avatar Jul 16 '25 07:07 zzhixin

Sounds like a rollover issue (ie hardware issue). Does caps+shift+x get detected when keyd is not running? You can also check this wirh keyd monitor.

On July 16, 2025 9:10:16 AM GMT+02:00, zhixin @.***> wrote:

zzhixin created an issue (rvaiya/keyd#1053)

Description

With keyd service running, Caps+Shift+x doesn't work. While other combs such as Caps+Shift+[asdfghjk] works just as intended - to mimic Ctrl+Shift+[sdfghjk]. And Ctrl+shift+x also works fine.

To Reproduce

  1. Open vscode keyboard shorcuts setting
  2. Select recording keys
  3. Press Caps+Shift+x, Ctrl+Shift captured, no x
  4. Clear text box
  5. Press Caps+Shift+a, Ctrl+Shift+a captured
  6. Clear text box
  7. Press Ctrl+Shift+x, Ctrl+Shift+x captured

Screenshots

step 3: Image step 5: Image step 7: Image

-- Reply to this email directly or view it on GitHub: https://github.com/rvaiya/keyd/issues/1053 You are receiving this because you are subscribed to this thread.

Message ID: @.***>

nsbgn avatar Jul 16 '25 11:07 nsbgn

Sounds like a rollover issue (ie hardware issue). Does caps+shift+x get detected when keyd is not running? You can also check this wirh keyd monitor.

Thanks for your quick reply.

Checked with keyd monitor with keyd disabled.

  1. Press Caps+Shift+x -> results are really wierd.
  2. Press Caps+Shift+e
  3. Press Ctrl+Shift+x

Logging are as follows:

Image

Not sure it is OS issue or hardware issue.

zzhixin avatar Jul 16 '25 15:07 zzhixin

@zzhixin membrane keyboards often cannot produce multiple keys close together. I bet caps+shift with z or a wouldn't work either. I've had this with at least two keyboards. One of them was kinesis Freestyle 2, their support told me it's a cheap keyboard (over $100 lol), so that's to be expected behaviour.

knezi avatar Jul 31 '25 16:07 knezi

Yeah, that's a hardware issue. I've seen similar outputs, where when some combinations of modifiers is held, certain keys end up basically re-triggering those modifiers instead of sending their normal codes. All you can do about it is use different keys (the other shift key might work), or a different keyboard.

jirassimok avatar Aug 19 '25 22:08 jirassimok