Skip to content

Cross-platform remap of caps lock key #3

@adamgian

Description

@adamgian

kmonad looks good, or maybe: keymapper?

The stages as in my head:

  • Tap 'Caps lock' (press down and release within 75? milliseconds), register as 'Esc' on the key up
  • Press 'Caps lock' down for longer than the 75? milliseconds, register as a — albeit delayed — 'Ctrl' (Linux) and 'Command' (macOS) key down and pressed
  • Release 'Caps look' (after having surpassed the 75? milliseconds threshold), register as 'Ctrl' (Linux) and 'Command' (macOS) key up.
  • Bypass 75? millisecond threshold if another key is pressed down as well (i.e.: 'Shift' or 'C'), register as 'Ctrl'/'Command' immediately
  • Bonus: 'Shift' + 'Caps lock' to toggle caps lock.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions