chore: implement gamepad controls

This commit is contained in:
2021-05-03 23:11:39 -05:00
parent 1e19854ab0
commit 4abb2833c4
7 changed files with 333 additions and 94 deletions

View File

@@ -1,5 +1,6 @@
pub use cpu::Cpu as LR35902;
pub use instruction::Cycle;
pub use joypad::ButtonState;
pub const GB_WIDTH: usize = 160;
pub const GB_HEIGHT: usize = 144;