Hello,
Is there a way to control some of the GUI functionality using a LUA script? For example the touch screen button to cycle through dashboard displays would be handy.
For example:
If (digital input from button)
page = getDashBoardpage() + 1
setDashboardPage(page)
or
if(temp > maxTemp)
setDashboardPage(3)
etc.
Thanks!
Exposing UI functions to LUA?
RaceCapture/Pro doesn't have specific knowledge of the display that's connected to it, and that's kind of by design.
The concept here is "separation of concerns". We don't want Racecapture tied to a display that assumes a specific behavior - for example, in the future there might be a simple display that behaves differently.
If the goal is to have hard wired buttons to switch screens, then the best way is to implement that via the app. There are some people here working on bluetooth buttons that simulate the left / right keyboard press, which, when implemented, neatly solves the problem.
Hope this helps!
The concept here is "separation of concerns". We don't want Racecapture tied to a display that assumes a specific behavior - for example, in the future there might be a simple display that behaves differently.
If the goal is to have hard wired buttons to switch screens, then the best way is to implement that via the app. There are some people here working on bluetooth buttons that simulate the left / right keyboard press, which, when implemented, neatly solves the problem.
Hope this helps!