summaryrefslogtreecommitdiff
path: root/chip8.c
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.c
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.c')
-rw-r--r--chip8.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/chip8.c b/chip8.c
index 3a2f43d..b6d52eb 100644
--- a/chip8.c
+++ b/chip8.c
@@ -120,3 +120,9 @@ chip8_draw_sprite(int startx, int starty, uint16_t mem, uint8_t size)
starty++;
}
}
+
+void
+chip8_cycle()
+{
+
+}