Adding support for windows and fixing some errors

This commit is contained in:
Ilusha 2024-01-15 16:35:16 -08:00 committed by Ilya Shurupov
parent 7660d58f26
commit 420bb37039
84 changed files with 168 additions and 255 deletions

View file

@ -65,7 +65,7 @@ namespace tp {
TAB = 258,
BACKSPACE = 259,
INSERT = 260,
DELETE = 261,
DELETE_KEY = 261,
RIGHT = 262,
LEFT = 263,
DOWN = 264,
@ -156,7 +156,7 @@ namespace tp {
};
struct KeyEvent {
Keycode code;
Keycode code;
enum class EventState {
RELEASED = 0,
PRESSED = 1,