Added input handling and capturing.

This commit is contained in:
2026-05-28 07:03:44 +02:00
parent b5d9811209
commit 380dffbf83
3 changed files with 99 additions and 7 deletions
+4
View File
@@ -19,7 +19,11 @@ System :: struct {
pc: u16,
// 64x32-pixel monochrome display
display: [32][64]u8,
// Keypad
keypad: [16]bool,
// -1 = no key pressed, 0-15 = key index
current_key: i16,
// Timers
delay_timer: u8,
sound_timer: u8,
}