I’d like a function under LL.getEvent() that returns the action that called the event.
I’d like a function under LL.getEvent() that returns the action that called the event.. It’d say something like “swipe left” or “position changed”..
The idea being so we can use the same script for related actions rather than creating multiple scripts
if(LL.getEvent().getType()==”tap”) {
functionA();
}
else{
functionB();
}
You get the idea
]]>« Lately had the idea to create a “getting started”-guide with LL’s folder and (a lot of) “do nothing”-shortcuts. (Previous Post)
(Next Post) Restart LLX? »
< ![CDATA[
I am not sure wether this is always possible but that’s a good suggestion. Moved to the TODO list.
]]>