eGalax touchscreen calibration
|
29th May, 2013, 09:38 PM
Post: #64
|
|||
|
|||
RE: eGalax touchscreen calibration
The equation is,
m_mouseX = g_graphicsContext.GetWidth() - (int)(((float)levt.value) * (calib_x_fact)) - calib_x_d; 1280 - ((Touch screen values) * -0.666) - 1280 and for 1080 1920 - ((Touch screen values) * -0.666) - 1920 If you change the overscan though in config.txt or video calibration, this constant g_graphicsContext.GetWidth() effects the calibration values, so you can alter the last value to change the offset back to corner of screen. hope this makes sense |
|||
« 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 |