summaryrefslogtreecommitdiff
path: root/chip8.h
diff options
context:
space:
mode:
authorDaniel Jones <admin@danieljon.es>2020-08-18 15:46:27 +0930
committerDaniel Jones <admin@danieljon.es>2020-08-18 15:46:27 +0930
commit0fa0e22e89a697730b1876de78a0e5d38d059b70 (patch)
treedaa11a697c9ffc9c5138081b52d32109c50d299b /chip8.h
parent78af003371b6b651e1d9b005702e3d22cee951c7 (diff)
downloadchip8-0fa0e22e89a697730b1876de78a0e5d38d059b70.tar.gz
chip8-0fa0e22e89a697730b1876de78a0e5d38d059b70.zip
implemented keypad
hex keypad is mapped to keys 1234,qwer,asdf,zxcv
Diffstat (limited to 'chip8.h')
-rw-r--r--chip8.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chip8.h b/chip8.h
index 3aaa8a8..e16274d 100644
--- a/chip8.h
+++ b/chip8.h
@@ -18,5 +18,6 @@
int load_rom();
void chip8_init();
void chip8_draw_sprite(int startx, int starty, uint16_t mem, uint8_t size);
+void chip8_cycle();
#endif