A project to connect a genesis controller to USB via an Arduino board.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
364 B

CC=gcc
OUTPUT=driver
OUTPUT_KB=driver_kb
CONTROLLER=-DCONTROLLER_MODE=1
DEBUG=-DDEBUG_MODE=1
all: controller keyboard
controller:
${CC} ${CONTROLLER} uinput-sega-genesis.c -o ${OUTPUT} ${CFLAGS}
keyboard:
${CC} uinput-sega-genesis.c -o ${OUTPUT_KB} ${CFLAGS}
debug:
${CC} ${DEBUG} uinput-sega-genesis.c -o ${OUTPUT} ${CFLAGS}
clean:
${RM} driver driver_kb