How to program the S1 button?

I would like to have the S1 button to work like this.

Short press = boot up
Long press 5 sec = soft shutdown
Long press 10 sec = hard shutdown

Where and how do I program the button?

1 Like


S1-S2 buttons are not programmable.