mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-01 11:06:44 +01:00
debug keycode mode
This commit is contained in:
parent
b57f20ac7d
commit
81e13b8d34
1 changed files with 1 additions and 0 deletions
|
@ -407,6 +407,7 @@ int main(int argc, char **argv){
|
|||
break;
|
||||
}
|
||||
else if (ev.type == ALLEGRO_EVENT_KEY_DOWN) {
|
||||
PrintConsole(&game, "KEYCODE: %s", al_keycode_to_name(ev.keyboard.keycode));
|
||||
if ((ev.type == ALLEGRO_EVENT_KEY_DOWN) && (ev.keyboard.keycode == ALLEGRO_KEY_TILDE)) {
|
||||
game.showconsole = !game.showconsole;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue