Added mouse events

This commit is contained in:
2023-01-27 12:52:37 +00:00
parent 3b5b399f4f
commit 194a52394d
6 changed files with 206 additions and 51 deletions

View File

@@ -27,10 +27,7 @@ typedef struct Box_private_engine {
int screenHeight;
//input syms mapped to events
Toy_LiteralArray keyDownEvents; //list of events that occurred this frame
Toy_LiteralDictionary symKeyDownEvents; //keysym -> event names
Toy_LiteralArray keyUpEvents; //list of events that occurred this frame
Toy_LiteralDictionary symKeyUpEvents; //keysym -> event names
} Box_Engine;