eGalax touchscreen calibration
|
9th Jul, 2013, 11:07 PM
Post: #152
|
|||
|
|||
RE: eGalax touchscreen calibration
(9th Jul, 2013 10:23 PM)Markamc Wrote:(9th Jul, 2013 10:02 PM)bboyandru Wrote:(9th Jul, 2013 09:31 PM)Markamc Wrote: Hi Andrei,Hi Mark! I don't think my patch will affect forcing other inputs using uimapper. My code just skips the first point received by XBMC and use it as the previous point for distance calculation. For example, at one touch on the touchscreen, XBMC gets more than 5 events, so ignoring the first one wouldn't be a problem. Please have a look at my description from the blog post: Quote:After I have successfully calibrated the touchscreen I have discovered that single click was not possible from the touchscreen, just double click. After digging through the code, I have found that this was caused by drag action which was triggered because the previous values of the touch were far(more than 5 pixels) from a new press. For example, at the start of the program, cursor is set at 0,0 coordinates; if user is trying to press a button, let's say at 100, 300, the program(XBMC) will calculate the distance between these two points and will find out that this is greater than 5. Andrei |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[PROBLEM] Touchscreen calibration is wrong and i'm going crazy. | wash | 5 | 19,030 |
17th Jan, 2015 10:34 PM Last Post: wash |
|
Tutorial: Touchscreen calibration & extra features | Markamc | 0 | 7,327 |
2nd Jul, 2013 12:11 AM Last Post: Markamc |