microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.58k stars 6.56k forks source link

Keyboard Manager supports distinguishing between short and long key presses #36011

Open Liushitong opened 2 days ago

Liushitong commented 2 days ago

Description of the new feature / enhancement

For the "keys" functionality in the "Keyboard Manager", is there any development plan to support the differentiation between short and long key presses?

Scenario when this would be used?

If this feature is supported, I could use the following key mappings as an example:

  1. Short press of "Caps Lock" mapped to "Esc"
  2. Long press of "Caps Lock" mapped to "Alt (Left)"

I think such key mappings would be immensely helpful for users who frequently use the Alt key. For instance, when using the GlazeWM application to manage windows, the long press of Caps Lock mapped to Alt would allow for easy access to many shortcuts.

Additionally, I would like to mention that the support for this feature could greatly improve the health of my little finger! :)

Supporting information

No response