zack fertig
This commit is contained in:
@@ -74,14 +74,12 @@ extern Ticketlock koutlock;
|
||||
void handle_keyboard() {
|
||||
Key key = Key();
|
||||
if (PS2Controller::fetch(key)) {
|
||||
|
||||
if (key.ctrl() && key.alt() && key.scancode == Key::KEY_DEL)
|
||||
System::reboot();
|
||||
|
||||
koutlock.lock();
|
||||
kout << key.ascii() << flush ;
|
||||
kout << key.ascii() << endl << flush ;
|
||||
koutlock.unlock();
|
||||
}
|
||||
else if (key.ctrl() && key.alt() && key.scancode == Key::KEY_DEL)
|
||||
System::reboot();
|
||||
|
||||
LAPIC::endOfInterrupt();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user