move reboot call to handlerscc
This commit is contained in:
@@ -122,9 +122,6 @@ bool fetch(Key &pressed) {
|
||||
|
||||
pressed = key_decoder.decode(out_buffer);
|
||||
|
||||
if (pressed.ctrl() && pressed.alt() && pressed.scancode == Key::KEY_DEL)
|
||||
System::reboot();
|
||||
|
||||
if (pressed.alt() || pressed.ctrl() || !pressed.valid())
|
||||
return false;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user