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.
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.