USB keyboard scan code question of Win10 restart action
We develop a USB device using PIC16F1459.
The purpose of this USB device is that simulate a power button on motherboard.
Three functions of this power button :
a. Main power on/off
b. 4-second hold : software reset (Win10 restart action)
c. 10-second hold : put machine in standby mode
I can send "Sleep" keyboard scan code to put system into standby mode.
But, I cannot find "Restart" keyboard scan code to make a Win10 Restart action.
Does anyone know if any keyboard scan code to support "Restart" event ?