Differentiate between inc/dec and prev/next because of x9d(+) (#6890)

* Review virtual event to differentiate between prev/next and inc/dec

* Review scripts

* Replace VIRTUAL_PREVIOUS by VIRTUAL_PREV
This commit is contained in:
3djc
2019-10-04 08:39:31 +02:00
committed by Bertrand Songis
parent 8ef57e2267
commit d9a035db11
16 changed files with 66 additions and 53 deletions
@@ -91,7 +91,7 @@ local function run(event)
return 2
elseif event == EVT_VIRTUAL_NEXT then
selectDevice(1)
elseif event == EVT_VIRTUAL_PREVIOUS then
elseif event == EVT_VIRTUAL_PREV then
selectDevice(-1)
end