added X9E navigation to the crossfire scripts (#5904)
Submitted on behalf of @aguindehi fixes #5893
This commit is contained in:
committed by
Bertrand Songis
parent
ffb6b1a6fd
commit
3665d2afb4
@@ -87,9 +87,9 @@ local function run(event)
|
||||
return 2
|
||||
elseif event == EVT_EXIT_BREAK then
|
||||
return 2
|
||||
elseif event == EVT_PLUS_FIRST or event == EVT_PLUS_REPT then
|
||||
elseif event == EVT_PLUS_FIRST or event == EVT_PLUS_REPT or event == EVT_ROT_LEFT then
|
||||
selectDevice(1)
|
||||
elseif event == EVT_MINUS_FIRST or event == EVT_MINUS_REPT then
|
||||
elseif event == EVT_MINUS_FIRST or event == EVT_MINUS_REPT or event == EVT_ROT_RIGHT then
|
||||
selectDevice(-1)
|
||||
end
|
||||
|
||||
|
||||
@@ -451,15 +451,15 @@ local function runDevicePage(event)
|
||||
end
|
||||
end
|
||||
elseif edit then
|
||||
if event == EVT_PLUS_FIRST or event == EVT_PLUS_REPT then
|
||||
if event == EVT_PLUS_FIRST or event == EVT_PLUS_REPT or event == EVT_ROT_LEFT then
|
||||
incrField(1)
|
||||
elseif event == EVT_MINUS_FIRST or event == EVT_MINUS_REPT then
|
||||
elseif event == EVT_MINUS_FIRST or event == EVT_MINUS_REPT or event == EVT_ROT_RIGHT then
|
||||
incrField(-1)
|
||||
end
|
||||
else
|
||||
if event == EVT_MINUS_FIRST then
|
||||
if event == EVT_MINUS_FIRST or event == EVT_ROT_RIGHT then
|
||||
selectField(1)
|
||||
elseif event == EVT_PLUS_FIRST then
|
||||
elseif event == EVT_PLUS_FIRST or event == EVT_ROT_LEFT then
|
||||
selectField(-1)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user