Display-Lock
Display-Lock copied to clipboard
Hotkey Support
Allow the use of hotkeys. There should be an area in the settings to allow the user to set hotkeys for various actions. Config will need to be updated to store hotkeys.
struct SETTINGS {
int version++;
....
int hotKeyNum;
HOTKEY hotkeys[hotKeyNum];
}
Possible actions include:
- Start / Stop
- Pause / Resume
https://docs.microsoft.com/en-us/windows/desktop/menurc/using-keyboard-accelerators#creating-a-run-time-accelerator-table
https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-registerhotkey
Tasks:
- [ ] Write Tests
- [ ] Create Hotkey Listener
- [ ] Update Settings UI
- [ ] Update Config