RobertMueller2 / WorkspaceSwitch.NET

MIT License
1 stars 0 forks source link

Make keybindings more flexible #10

Open RobertMueller2 opened 4 months ago

RobertMueller2 commented 4 months ago

So far, 1..10 was easy to bind programmatically, because it can be done in a for loop.

Allowing additional keys makes the tool more flexible, but also adds complexity.

Ideas:

For much later, perhaps a followup issue:

These last two are trickier. Windows virtual keycodes don't distinguish keypad directions (e.g. Ins) from a regular Ins. It's probably possible to distinguish them via scancode (https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-kbdllhookstruct), but Win32HotkeyListener's architecture doesn't support this at this point. It would have to allow sub-actions for the same hotkey.

RobertMueller2 commented 4 months ago

Overlaps with #4