Gordo 发表于 20-08-2021 14:17:09

Suggestion to improve Lua script interaction

Hi, I know about screen.popYesOrNo() and screen.popMenu() in Lua, but would it be possible to have a non-modal callback for events like buttonPress, buttonDouble, buttonLong, scrollLeft, scrollRight etc? If this is not possible (eg. the events are already consumed by foreground tasks), could we have a function that returns the scroll-wheel status for use in procedural style Lua code. This would improve the interactivity of Lua scripts a lot.. Thanks!
页: [1]
查看完整版本: Suggestion to improve Lua script interaction