input system rework
This commit is contained in:
@ -22,8 +22,8 @@ void game_tick(void) {
|
||||
|
||||
State *state = ctx.udata;
|
||||
|
||||
input_action("debug_toggle", CONTROL_BACKSPACE);
|
||||
input_action("debug_dump_atlases", CONTROL_HOME);
|
||||
input_action("debug_toggle", "BACKSPACE");
|
||||
input_action("debug_dump_atlases", "HOME");
|
||||
|
||||
if (input_action_just_pressed("debug_toggle")) {
|
||||
ctx.debug = !ctx.debug;
|
||||
|
Reference in New Issue
Block a user