ligius-/lenovo-backlight-control

Mouse event turn off

Closed this issue · 2 comments

Hi dear developer!
I want to turning of the backlight on when i move the mouse. I want to the light on if just typing. Can i setting this function somewhere?
Thank you!

Hi,

I think you can edit the .AHK script and replace A_TimeIdle with A_TimeIdleKeyboard. I haven't tried it, but it should work.
https://www.autohotkey.com/docs/Variables.htm#TimeIdleKeyboard
Perhaps the idle timer in AHK can also be configured to ignore mouse events, which it should, by default, but somehow this did not work for me. Perhaps removing the line ;#InstallMouseHook can achieve this, even though it's commented out.

Thank you the help! Its function!