Added input handling and capturing.
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user