forked from Bananymous/banan-os
Kernel: Implement hacky non-block read for ps2 keyboard
This commit is contained in:
@@ -234,4 +234,10 @@ namespace Kernel::Input
|
||||
}
|
||||
}
|
||||
|
||||
bool PS2Keyboard::has_data_impl() const
|
||||
{
|
||||
CriticalScope _;
|
||||
return !m_event_queue.empty();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user