Emulation of the 1970's Chip-8 machine. The emulator has 7 games that are unmodified from the original Chip-8 format.
Diff: GameInput.cpp
- Revision:
- 0:bc3f11b1b41f
diff -r 000000000000 -r bc3f11b1b41f GameInput.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/GameInput.cpp Sun Feb 08 01:58:57 2015 +0000 @@ -0,0 +1,8 @@ +#include "GameInput.h" + +DigitalIn GameInput::_up(P0_13, PullUp); +DigitalIn GameInput::_down(P0_12, PullUp); +DigitalIn GameInput::_left(P0_14, PullUp); +DigitalIn GameInput::_right(P0_11, PullUp); +DigitalIn GameInput::_square(P0_16, PullUp); +DigitalIn GameInput::_circle(P0_1, PullUp); \ No newline at end of file