Kernel: Shell now renders a mouse

PS/2 mouse doesn't seem to work with PIC.
This commit is contained in:
Bananymous
2022-12-30 20:48:15 +02:00
parent 9d9a6b2fec
commit fcec793873
2 changed files with 61 additions and 29 deletions

View File

@@ -23,10 +23,18 @@ namespace Kernel
void PrintPrompt();
void ProcessCommand(const BAN::Vector<BAN::StringView>&);
void KeyEventCallback(Input::KeyEvent);
void MouseMoveEventCallback(Input::MouseMoveEvent);
private:
TTY* m_tty;
BAN::String m_buffer;
struct
{
bool exists = false;
int32_t x = 0;
int32_t y = 0;
} m_mouse_pos;
};
}