nes pad support
This commit is contained in:
parent
c9437891b7
commit
57b0bc6948
|
@ -3,12 +3,13 @@ TOPDIR = ..
|
||||||
|
|
||||||
include $(TOPDIR)/defaults.mk
|
include $(TOPDIR)/defaults.mk
|
||||||
|
|
||||||
SRC = joystick.c
|
|
||||||
SRC_SIM =
|
SRC_SIM =
|
||||||
|
|
||||||
ifeq ($(JOYSTICK_TYPE), JOYSTICK_NES)
|
ifeq ($(NES_PAD_SUPPORT), y)
|
||||||
SRC = nes_pad.c
|
SRC = nes_pad.c
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(PARALLEL_JOYSTICK_SUPPORT), y)
|
||||||
|
SRC = joystick.c
|
||||||
|
endif
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
|
@ -1,11 +1,5 @@
|
||||||
dep_bool_menu "joystick support" JOYSTICK_SUPPORT y
|
dep_bool_menu "joystick support" JOYSTICK_SUPPORT y
|
||||||
|
|
||||||
choice 'Joystick type' \
|
|
||||||
"NES-Pad JOYSTICK_NES \
|
|
||||||
Parallel JOYSTICK_PARALLEL" \
|
|
||||||
'JOYSTICK_PARALLEL' JOYSTICK_TYPE
|
|
||||||
|
|
||||||
|
|
||||||
###################### Parallel joystick menu #################################
|
###################### Parallel joystick menu #################################
|
||||||
dep_bool_menu "parallel joystick support" PARALLEL_JOYSTICK_SUPPORT y
|
dep_bool_menu "parallel joystick support" PARALLEL_JOYSTICK_SUPPORT y
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue