- [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:
2025-10-30 16:46:12 +01:00
parent 639fd6e34d
commit df277fb0e4
2 changed files with 29 additions and 5 deletions

View File

@@ -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