Reporting style/Move Event Issue
Posted: Wed Sep 22, 2010 4:52 am
Hello!
I need to make a slider on TFT screen for that I need to get a move event coordinates and have to display slider accordingly.
I am having issue in getting move event while scrolling the slider.
I am using change reporting style function
The touch reporting style
0 - No event reporting
1 - Down region events only
2 - Up region events only
3 - Down and up region events
9 - Down coordinate events only
10 - Up coordinate events only
11 - Down and up coordinate events
All other values are reserved
It only returns either up/down event when I set the reporting style either 9/10/11 but it never returns with move event that is having the value 2.
The return message I get is:
either
252 135 00 05 00 x y //00 for down event
or
252 135 00 05 01 x y //1 for up event
but never
252 135 00 05 02 x y //2 for move event
I need to move slider and wants to get scroll position for that I need to get move event reporting please tell me the solution.
Thanks
Ashok
I need to make a slider on TFT screen for that I need to get a move event coordinates and have to display slider accordingly.
I am having issue in getting move event while scrolling the slider.
I am using change reporting style function
The touch reporting style
0 - No event reporting
1 - Down region events only
2 - Up region events only
3 - Down and up region events
9 - Down coordinate events only
10 - Up coordinate events only
11 - Down and up coordinate events
All other values are reserved
It only returns either up/down event when I set the reporting style either 9/10/11 but it never returns with move event that is having the value 2.
The return message I get is:
either
252 135 00 05 00 x y //00 for down event
or
252 135 00 05 01 x y //1 for up event
but never
252 135 00 05 02 x y //2 for move event
I need to move slider and wants to get scroll position for that I need to get move event reporting please tell me the solution.
Thanks
Ashok