I have an Arduino Pro Micro mimicking as a HID, connected to a PC.
The PC BIOS is configured to wake from keyboard events - it is switched on by hitting a key on the regular keyboard. This is a wanted feature and should stay.
Unfortunately, it also wakes when the Arduino sends HID events, which is understandable and pretty obvious, but to be avoided.
Is there something in the USB protocoll, or even in the Arduino HID libraries, that lets me tell the chip to either not wake up the host (unlikely, I guess); or so that I can detect when the PC has shut down, so I can tell the Arduino to go sleeping as well until the PC wakes up again?
EDIT: I am using the "HID-project" USB library (HID 2.4.3) from https://github.com/NicoHood/HID.