- fixed the controller menu.

This needed a definition update for its defaults.
This commit is contained in:
Christoph Oelckers 2020-10-10 00:24:11 +02:00
parent 37d86d03f5
commit fb10473e40

View file

@ -787,13 +787,30 @@ OptionMenu "MouseOptions" protected
//
//-------------------------------------------------------------------------------------------
OptionMenu "JoystickOptionsDefaults" protected
{
Title "$JOYMNU_OPTIONS"
Option "$JOYMNU_ENABLE", "use_joystick", "YesNo"
Option "$JOYMNU_NOMENU", "m_blockcontrollers", "YesNo"
IfOption(Windows)
{
Option "$JOYMNU_DINPUT", "joy_dinput", "YesNo"
Option "$JOYMNU_XINPUT", "joy_xinput", "YesNo"
Option "$JOYMNU_PS2", "joy_ps2raw", "YesNo"
}
StaticText ""
StaticTextSwitchable "$JOYMNU_NOCON", "$JOYMNU_CONFIG", "ConfigureMessage"
StaticTextSwitchable " ", "$JOYMNU_DISABLED1", "ConnectMessage1"
StaticTextSwitchable " ", "$JOYMNU_DISABLED2", "ConnectMessage2"
// The rest will be filled in by joystick code if devices get connected or disconnected
}
OptionMenu "JoystickOptions" protected
{
Title "$JOYMNU_OPTIONS"
// This will be filled in by joystick code if devices get connected or disconnected
}
OptionValue "JoyAxisMapNames"
{
-1, "$OPTVAL_NONE"