NicoHood/HID

System.write(SYSTEM_WAKE_UP); applies to every buttonpress

imstupidwithlinux opened this issue · 4 comments

i have 6 buttons connected to my pro micro and on button 6 i have placed this to be able to turn on my pc.

System.write(SYSTEM_WAKE_UP);

after a few days of using it like that i noticed that im able to press any of the 6 buttons and my pc will boot when fully shut down. is this a me problem or a bios settings problem or a HID project problem. i will provide the arduino code i use and a picture of my bios settings

code.txt
MSI_SnapShot

Update: I can do this with every usb device, mouse, keyboard. So how is it supposed to work then? I read that the pcie option too supports usb but it just won't do anything if usb is disabled.
MSI_SnapShot_00

I dont understand your question. that call that you described will wakeup the pc.

wake up from what state? S3? S5? im trying to use this instead of pressing the power button on my case

You can only wakeup from sleep state, not from a real shutdown. If i remember correct, sleep was S3 and shutdown S5.