cajhin / capsicain

Powerful low-level keyboard remapping tool for Windows
353 stars 18 forks source link

Sleep not working #73

Closed dliu9999 closed 2 years ago

dliu9999 commented 2 years ago

Hi, is there a way to get sleep to work? I have COMBO \ [^^^& .... ....] > key(SLEEP) (so mod9 + \) but it doesn't seem to work. Thanks!

cajhin commented 2 years ago

I tried, but it doesn't work. Looks like Windows does not (no longer?) reacts to the SLEEP scancode. My actual sleep buttons are not keys (like "lid closed", they send some signal that is not a key stroke).

Easiest solution is probably an Autohotkey config (AHK supports a system call for the power events, I'd rather not implement this in capsicain because it's not in focus, it's not keystrokes).

cajhin commented 2 years ago

Created a new wiki page and explained it

Problems & Solutions