Rework input system

This commit is contained in:
2024-01-07 15:20:39 +01:00
parent 5f4bb3316c
commit 03dc3774e7
4 changed files with 70 additions and 151 deletions

View File

@@ -67,8 +67,9 @@ typedef struct InputState {
* 3: UnitSelected
*/
ecs_query_t *selected;
//ecs_query_t *selectedBuilding;
} queries;
bool canUseMouse;
bool canUseKeyboard;
} InputState;
static InputMapping inputDefaultMapping() {