sketchbook
|
Go to the source code of this file.
Macros | |
#define | MAX_NES_JOYSTICKS 8 |
#define | NES_RIGHT 0x01 |
#define | NES_LEFT 0x02 |
#define | NES_DOWN 0x04 |
#define | NES_UP 0x08 |
#define | NES_START 0x10 |
#define | NES_SELECT 0x20 |
#define | NES_B 0x40 |
#define | NES_A 0x80 |
Functions | |
int | setupNesJoystick (int dPin, int cPin, int lPin) |
unsigned int | readNesJoystick (int joystick) |
#define MAX_NES_JOYSTICKS 8 |
#define NES_A 0x80 |
#define NES_B 0x40 |
#define NES_DOWN 0x04 |
#define NES_LEFT 0x02 |
#define NES_RIGHT 0x01 |
#define NES_SELECT 0x20 |
#define NES_START 0x10 |
#define NES_UP 0x08 |
unsigned int readNesJoystick | ( | int | joystick | ) |
int setupNesJoystick | ( | int | dPin, |
int | cPin, | ||
int | lPin | ||
) |