Add support for the windows button being the toggle #468
Replies: 1 comment
-
|
Thanks for the suggestion! I looked into this in depth, and unfortunately I don't think we'll be implementing it, at least not as a default. The technical constraint: Windows' standard hotkey registration API (RegisterHotKey, which most launchers including Asyar use) can't register the bare Windows key by itself — it only works with modifier+key combos like Alt+Space. To catch a lone Win press/release, an app has to install a low-level, system-wide keyboard hook that sees every keystroke on the machine (Windows has no way to scope a hook to just one key). That's the same class of API used by keyloggers, so it tends to get flagged by antivirus/EDR software, and a slow or buggy handler in that hook can lag or freeze keyboard input system-wide — a much bigger risk than anything in our current shortcut system. It would also mean permanently taking over the Start Menu key everywhere on the machine, not just while Asyar is in use. For context: even PowerToys — built by the team with the deepest Windows API expertise — has had multiple open feature requests for this exact thing for years without shipping it natively. If you want this today, there's a reliable workaround with zero third-party tools: open PowerToys → Keyboard Manager → remap the Windows key to Alt+Space (or whatever you've set as Asyar's shortcut). That gets you the same one-key toggle experience. Closing for now, but happy to revisit if this becomes a more widely-requested pattern. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Quite literally whats in the title
Beta Was this translation helpful? Give feedback.
All reactions