Kernel: Remove TTY keyboard thread
This was really hacky as it had no idea when the keyboard had events and the blocking was just one millisecond sleeps :D Now keyboard device checks if current tty is receiving input and if so it forwards the events to the TTY.
This commit is contained in:
@@ -61,6 +61,7 @@ namespace Kernel
|
||||
{
|
||||
public:
|
||||
static BAN::ErrorOr<BAN::RefPtr<KeyboardDevice>> create(mode_t mode, uid_t uid, gid_t gid);
|
||||
static BAN::ErrorOr<void> initialize_tty_thread();
|
||||
|
||||
void notify();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user