Flesh out keyboard event support a bit more.

This commit is contained in:
Andreas Kling 2019-01-21 07:05:31 +01:00
commit aefbbeb3cb
Notes: sideshowbarker 2024-07-19 15:59:19 +09:00
7 changed files with 196 additions and 84 deletions

View file

@ -26,7 +26,7 @@ public:
bool right_mouse_button_pressed() const { return m_right_mouse_button_pressed; }
void on_receive_mouse_data(int dx, int dy, bool left_button, bool right_button);
void on_receive_keyboard_data(Keyboard::Key);
void on_receive_keyboard_data(Keyboard::Event);
protected:
WSScreen(unsigned width, unsigned height);