eGalax touchscreen calibration
|
9th Jul, 2013, 10:02 PM
Post: #149
|
|||
|
|||
RE: eGalax touchscreen calibration
(9th Jul, 2013 09:31 PM)Markamc Wrote: Hi Andrei,Hi Mark! I did my calibration in Xserver using xinput_calibrator program(you can see how I did this on my blog post at the calibration part). I am sure that this can be done as well with ts_calibrate. If you want to disable my calibration you just have to put the values from the calibration file like this: calib_x_d=<your screen resolution width> e.g. calib_x_d=1280 calib_y_d=<your screen resolution height> e.g. calib_y_d=720 calib_x_fact=-1 calib_y_fact=-1 My projection is like this: pointer.x = screen_width - value_read.x * calib_x_fact - calib_x_d; pointer.y = screen_height - value_read.y * calib_y_fact - calib_y_d; and the original code is like this: pointer.x = value_read.x; pointer.y = value_read.y; I will modify the patches and add click_confines value to the calibration file this evening. 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,834 |
17th Jan, 2015 10:34 PM Last Post: wash |
|
Tutorial: Touchscreen calibration & extra features | Markamc | 0 | 7,559 |
2nd Jul, 2013 12:11 AM Last Post: Markamc |