- [NEW] Els botons de cicle avant i arrere de la vista de GPS en el pad, i la pausa en el pad ara es poden redefinir.
This commit is contained in:
@@ -533,11 +533,35 @@ function update_redefine_pad_menu()
|
||||
text("PULSA BOTÓ PER A DISPAR", 20, 24, 13)
|
||||
local btn = pad.press();
|
||||
if btn ~= -1 then
|
||||
menu_count = 0
|
||||
menu_state = update_options_menu;
|
||||
menu_count = 6
|
||||
btnShoot=btn
|
||||
config.key("btnshoot", btnShoot)
|
||||
end
|
||||
elseif menu_count==6 then
|
||||
text("PULSA BOTÓ PER A GPS ARRERE", 14, 24, 13)
|
||||
local btn = pad.press();
|
||||
if btn ~= -1 then
|
||||
menu_count = 7
|
||||
btnCycle1=btn
|
||||
config.key("btncycle1", btnCycle1)
|
||||
end
|
||||
elseif menu_count==7 then
|
||||
text("PULSA BOTÓ PER A GPS AVANT", 14, 24, 13)
|
||||
local btn = pad.press();
|
||||
if btn ~= -1 then
|
||||
menu_count = 8
|
||||
btnCycle2=btn
|
||||
config.key("btncycle2", btnCycle2)
|
||||
end
|
||||
elseif menu_count==8 then
|
||||
text("PULSA BOTÓ PER A PAUSA", 22, 24, 13)
|
||||
local btn = pad.press();
|
||||
if btn ~= -1 then
|
||||
menu_count = 0
|
||||
menu_state = update_options_menu;
|
||||
btnPause=btn
|
||||
config.key("btnpause", btnPause)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -70,9 +70,9 @@ function mini.init()
|
||||
btnRight = tonumber(config.key("btnright")) or pad.RIGHT
|
||||
btnJump = tonumber(config.key("btnjump")) or pad.B
|
||||
btnShoot = tonumber(config.key("btnshoot")) or pad.A
|
||||
btnCycle1 = tonumber(config.key("btnCycle1")) or pad.RIGHTSHOULDER
|
||||
btnCycle2 = tonumber(config.key("btnCycle2")) or pad.LEFTSHOULDER
|
||||
btnPause = tonumber(config.key("btnPause")) or pad.START
|
||||
btnCycle1 = tonumber(config.key("btncycle1")) or pad.RIGHTSHOULDER
|
||||
btnCycle2 = tonumber(config.key("btncycle2")) or pad.LEFTSHOULDER
|
||||
btnPause = tonumber(config.key("btnpause")) or pad.START
|
||||
|
||||
--game_init()
|
||||
intro_init()
|
||||
|
||||
Reference in New Issue
Block a user