pqrs-org / Karabiner-Elements

Karabiner-Elements is a powerful utility for keyboard customization on macOS Sierra (10.12) or later.
https://pqrs.org/osx/karabiner/
The Unlicense
18.57k stars 834 forks source link

Enhancement to keep keyboard awake #3410

Open timbyu opened 1 year ago

timbyu commented 1 year ago

I have a couple of Microsoft bluetooth keyboards that I use with my Mac. The keyboards try to be energy efficient and go to sleep after 5-10 minutes of inactivity. When I come back to the keyboard it drops the first few keys typed. I also often see the "Keyboard is ignored until {"key_code": "[some key]"} is pressed again" message that seems to require even more clicks to wake up. Windows has an option to "not allow this device to sleep" but Mac doesn't seem to have anything to allow for that at the keyboard level.

The feature I am looking for is one that will send the keyboard some kind of query or other interaction that will keep the keyboard awake. If the feature could be turned on or off using the cli or using a hot key I could add a timer to only do it during work hours.

I would even be willing to work on this feature myself but even after spending hours searching for solutions I have no idea where to start or if it's even possible.

danielletx commented 4 months ago

did you ever figure this out…? i'm having the same issue.