summaryrefslogtreecommitdiff
path: root/demo/source/loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'demo/source/loop.c')
-rw-r--r--demo/source/loop.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/demo/source/loop.c b/demo/source/loop.c
index 469f62e..e2e608c 100644
--- a/demo/source/loop.c
+++ b/demo/source/loop.c
@@ -25,6 +25,9 @@ bool axd_loop(axd_dat * const _dat) {
_dat->prevcol = ax_rd1(_dat->vaddr,ax_coord(ax_scrnw3,_dat->pos.x,_dat->pos.y));
ax_plot1(_dat->vaddr,ax_coord(ax_scrnw3,_dat->pos.x,_dat->pos.y),0x4u);
}
+ if (upd.keydwn) {
+ while (ax_chkkey(ax_getkeymap(),upd.key)) {}
+ }
}
return err;
}