Sequence to reboot keyboard

You can create a reset function, then call it in your code.
I haven’t called a custom function based on a keystroke, so I can’t help you there. There is probably code in the basic firmware that would help you.

void(* resetFunc) (void) = 0;//declare reset function at address 0
...
resetFunc(); //call reset 

ref

1 Like