Hi:
I have added a trace into the OnStart slot of both SlideTouchHandlers. In simulation of EW studio, double touches on both slides at the same moment always produce double traces. But when running on board, the observation is much more confusing.
Below is one confusing log. [RAW] came from C code, and was printed out whenever touchCount from driver changed. Here, touchCount changed from 0 to 2, which meaned 2 fingers were captured in one event cycle. But 2 traces followed, and the both slides captured double touches, and worked.
[RAW]:touchCount=2
[RAW]:touchArray: valid = 1, touchID = 0
[RAW]:touchArray: valid = 1, touchID = 1
[RAW]:touchArray: valid = 0, touchID = 15
[RAW]:touchArray: valid = 0, touchID = 15
[RAW]:touchArray: valid = 0, touchID = 15
trace: "Slide Touched"
trace: "Slide Touched"
The second log showed that 2 fingers were not captured in one event cycle, but no traces were produced, so neither of the slides was activated.
[RAW]:touchCount=0
[RAW]:touchArray: valid = 0, touchID = 0
[RAW]:touchArray: valid = 0, touchID = 0
[RAW]:touchArray: valid = 0, touchID = 0
[RAW]:touchArray: valid = 0, touchID = 0
[RAW]:touchArray: valid = 0, touchID = 0
[RAW]:touchCount=1
[RAW]:touchArray: valid = 1, touchID = 1
[RAW]:touchArray: valid = 0, touchID = 15
[RAW]:touchArray: valid = 0, touchID = 15
[RAW]:touchArray: valid = 0, touchID = 15
[RAW]:touchArray: valid = 0, touchID = 15
[RAW]:touchCount=2
[RAW]:touchArray: valid = 1, touchID = 0
[RAW]:touchArray: valid = 1, touchID = 1
[RAW]:touchArray: valid = 0, touchID = 15
[RAW]:touchArray: valid = 0, touchID = 15
[RAW]:touchArray: valid = 0, touchID = 15
[RAW]:touchCount=1
[RAW]:touchArray: valid = 1, touchID = 1
[RAW]:touchArray: valid = 0, touchID = 0
[RAW]:touchArray: valid = 0, touchID = 15
[RAW]:touchArray: valid = 0, touchID = 15
[RAW]:touchArray: valid = 0, touchID = 15
[RAW]:touchCount=0
[RAW]:touchArray: valid = 0, touchID = 0
[RAW]:touchArray: valid = 0, touchID = 0
[RAW]:touchArray: valid = 0, touchID = 0
[RAW]:touchArray: valid = 0, touchID = 0
[RAW]:touchArray: valid = 0, touchID = 0
So I think the difference between simulation environment of EW Studio and generated code causes this issue.
Best regards
Stephen