diff options
Diffstat (limited to 'ViewController.h')
-rw-r--r-- | ViewController.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ViewController.h b/ViewController.h index 9e1e812..0f6b3e0 100644 --- a/ViewController.h +++ b/ViewController.h @@ -1,6 +1,7 @@ #pragma once -#include "Scancode.h" +#include "KeyboardCode.h" +#include "MouseCode.h" class View; class Museum; @@ -11,7 +12,9 @@ public: public: void update(); - void keypress(Scancode scancode); + void ev_keydown(KeyboardCode code); + void ev_mousedown(MouseCode code); + void ev_mousemove(unsigned x, unsigned y); private: void update_size(); |