|
@ -1,8 +1,11 @@ |
|
|
dep_bool_menu "joystick support" JOYSTICK_SUPPORT y |
|
|
dep_bool_menu "joystick support" JOYSTICK_SUPPORT y |
|
|
|
|
|
|
|
|
|
|
|
if [ "$JOYSTICK_SUPPORT" = "y" ]; then |
|
|
|
|
|
PARALLEL_JOYSTICK_SUPPORT=y |
|
|
###################### 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 |
|
|
|
|
|
|
|
|
|
|
|
if [ "$PARALLEL_JOYSTICK_SUPPORT" = "y" ]; then |
|
|
choice 'Pin up' \ |
|
|
choice 'Pin up' \ |
|
|
"PINA PINA \ |
|
|
"PINA PINA \ |
|
|
PINB PINB \ |
|
|
PINB PINB \ |
|
@ -92,6 +95,7 @@ choice 'Bit fire' \ |
|
|
Bit6 6 \ |
|
|
Bit6 6 \ |
|
|
Bit7 7" \ |
|
|
Bit7 7" \ |
|
|
'Bit3' JOYSTICK_BIT_FIRE |
|
|
'Bit3' JOYSTICK_BIT_FIRE |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
endmenu |
|
|
endmenu |
|
|
############################################################################### |
|
|
############################################################################### |
|
@ -99,6 +103,7 @@ endmenu |
|
|
###################### NES-Pad menu ################################# |
|
|
###################### NES-Pad menu ################################# |
|
|
dep_bool_menu "nes-pad support" NES_PAD_SUPPORT y |
|
|
dep_bool_menu "nes-pad support" NES_PAD_SUPPORT y |
|
|
|
|
|
|
|
|
|
|
|
if [ "$NES_PAD_SUPPORT" = "y" ]; then |
|
|
choice 'Port clk' \ |
|
|
choice 'Port clk' \ |
|
|
"PORTA PORTA \ |
|
|
"PORTA PORTA \ |
|
|
PORTB PORTB \ |
|
|
PORTB PORTB \ |
|
@ -120,7 +125,6 @@ choice 'Pin pl' \ |
|
|
PORTD PORTD" \ |
|
|
PORTD PORTD" \ |
|
|
'PORTB' NES_PAD_PORT_DS |
|
|
'PORTB' NES_PAD_PORT_DS |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
choice 'Bit clk' \ |
|
|
choice 'Bit clk' \ |
|
|
"Bit0 0 \ |
|
|
"Bit0 0 \ |
|
|
Bit1 1 \ |
|
|
Bit1 1 \ |
|
@ -154,9 +158,11 @@ choice 'Bit ds' \ |
|
|
Bit7 7" \ |
|
|
Bit7 7" \ |
|
|
'Bit2' NES_PAD_BIT_DS |
|
|
'Bit2' NES_PAD_BIT_DS |
|
|
|
|
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
endmenu |
|
|
endmenu |
|
|
############################################################################### |
|
|
############################################################################### |
|
|
|
|
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
endmenu |
|
|
endmenu |
|
|