sprint on ctrl

This commit is contained in:
InviseDivine
2026-03-13 23:23:25 +02:00
parent bf2248063d
commit 5385342272
4 changed files with 10 additions and 0 deletions

View File

@@ -71,9 +71,11 @@ public:
static const int KEY_F11 = 122;
static const int KEY_F12 = 123;
static const int KEY_ESCAPE = 27;
static const int KEY_SPACE = 32;
static const int KEY_LSHIFT = 10;
static const int KEY_LEFT_CTRL = 232;
static bool isKeyDown(int keyCode) {
return _states[keyCode] == KeyboardAction::KEYDOWN;