RegisterSearchFAQMemberlistUsergroupsLog in
Reply to topic Page 1 of 1
Exposing UI functions to LUA?
Author Message
Reply with quote
Post Exposing UI functions to LUA? 
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!

View user's profile Send private message
Reply with quote
Post  
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!


_________________
Brent Picasso
Founder, Autosport Labs
Facebook | Twitter
View user's profile Send private message Send e-mail
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum