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.
17 lines
481 B
17 lines
481 B
if (global.joydetected == 1 || ((os_type == os_android || os_type == os_linux) && gamepad_is_connected(global.gamepadIndex)))
|
|
{
|
|
op[8].enabled = 1
|
|
canedit[8] = 1
|
|
op[8].label = get_text("OptionsControl", "JoypadSettings")
|
|
}
|
|
if (global.joydetected == 0 && (!gamepad_is_connected(global.gamepadIndex)))
|
|
{
|
|
op[8].enabled = 0
|
|
canedit[8] = 0
|
|
op[8].label = get_text("OptionsControl", "NoJoypad")
|
|
}
|
|
if (os_type == os_android)
|
|
alarm[1] = 1
|
|
else
|
|
alarm[1] = 120
|