This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdint.h> | |
// GPIO pins used for connected gamepad | |
#define CLOCK 21 | |
#define LATCH 20 | |
#define DATA 19 | |
#define DEVICE_TYPE_AUTO 0 | |
#define DEVICE_TYPE_NES 1 | |
#define DEVICE_TYPE_SNES 2 |