In a dialog topic if I use :
to launch my activity on a HandRightRightTouched : it works.
Now, I would like to launch the same application with two events in a same time :
I wrote :
u:(e:HandRightRightTouched & e:HandLeftRightTouched) ^switchFocus(monactivityr-xxxxx/monbehaviour)
but nothings happens.
What is the correct way to write this code ?
I'm not sure off-hand what the syntax is (if it exists) that allows you to listen to two events at the same time within a user rule. Perhaps someone from the Dialog team can chime in on that.
If there isn't, one possible solution would be for you, in Python, to listen for both events and raise your own memory event, which is what you would then listen for in your topic file.