Emulation of the 1970's Chip-8 machine. The emulator has 7 games that are unmodified from the original Chip-8 format.
GameInput.cpp
- Committer:
- taylorza
- Date:
- 2015-02-08
- Revision:
- 0:bc3f11b1b41f
File content as of revision 0:bc3f11b1b41f:
#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);