input: hacky way of handling multikey shortcuts

This commit is contained in:
im-tem
2025-07-01 17:45:04 +03:00
parent 34443ebf35
commit daefc91a72
2 changed files with 14 additions and 6 deletions

View File

@@ -273,13 +273,13 @@ const std::vector<KeyType> INPUT_KEYS[INPUT_COUNT] =
{ KEY_2 },
{ KEY_Z },
{ KEY_Y },
{ KEY_LCTRL }
{ KEY_LCTRL , KEY_S}
};
struct Keyboard
{
bool current[KEY_COUNT];
bool previous[KEY_COUNT];
bool current[KEY_COUNT] = { 0 };
bool previous[KEY_COUNT] = { 0 };
};
struct Mouse