Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,771,646 Members 46,551 Now Online
XDA Developers Android and Mobile Development Forum

[Guide/Hack] Calibrate touch screen with more than just 4 calibration points

Tip us?
 
young blade
Old
(Last edited by young blade; 4th January 2013 at 12:44 PM.)
#1  
young blade's Avatar
Senior Member - OP
Thanks Meter 17
Posts: 448
Join Date: Oct 2008
Location: Rotterdam
Thumbs up [Guide/Hack] Calibrate touch screen with more than just 4 calibration points

Dear XDA friends today I make available an guide to align/calibrate the touch screen with more than just 4 points.

The benefit of aligning the screen with more than just more than 4 points is that the touch screen will be more acurate
when there is an touch input.

After much frustration of my 22" touch panel not registering my touch inputs the way it should I've spend weeks to search the internet
for an solution to this problem.

And the problem lies in the fact that microsofts calibration tool offers too few calibration points (4 or a few more for pen input).

This guide also applies to pen inputs but when using a pen you should keep in mind that the first point you touch while calibrating has to be with the pen.

Before starting off you should make an windows restore point. okay lets get it started.

1) Go to the control panel and open tablet pc settings.

2) Hit reset.

3) Open command prompt CMD as administrator.

4) Choose one of the following options: 4a,4b or 4c:

4a) As mine touchscreen is 22" 1680x1050 I calculated the folowing line to get 150 calibration touch points:

tabcal lincal novalidate XGridPts=5,117,229,341,453,565,667,789,901,1013,11 25,1237,1349,1461,1537,1675 YGridPts=5,109,213,317,421,525,629,733,837,941,104 5

Copy and paste this line above into the command prompt and hit enter than proceed to step 5.


4b) If your screen resolution is 1280x800 and you want 36 calibration see the following line:


tabcal lincal novalidate XGridPts=5,259,513,767,1021,1275 YGridPts=5,163,321,479,637,795

Copy and paste this line above into the command prompt and hit enter than proceed to step 5.

4c) If you have a different screen resolution than the ones above than calculate the best entries for your screen:

lets say you want 36 calibration points for your 1280x720 screen reslotution.
than do the folowing for the XGridPts: 1280-10= 1270
Now we make sure that we start of at XGridPts=5 and the last XGridPts=1275
that leaves us with 1270 Pts lets divide it by 5 > 1270/5= 254
So the steps will be 254Pts

As our first XGridPts=5 we keep adding 254Pts until we get around 1275Pts
So 5Pts+254Pts=259Pts and that will be our second Pts

The result will be: XGridPts=5,259,513,767,1021,1275

Next will be our YGrid:
720-10=710
Now we make sure that we start of at YGridPts=5 and the last YGridPts=715
that leaves us with 710 Pts lets divide it by 5 > 710/5= 142
So the steps will be 142Pts

As our first YGridPts=5 we keep adding 142Pts until we get around 715Pts
So 5Pts+142Pts=147Pts and that will be our second Pts

The result will be: YGridPts=5,147,289,431,573,715

So now we have succesfuly calculated the x and y grid:

XGridPts=5,259,513,767,1021,1275 YGridPts=5,147,289,431,573,715

Copy and paste this line above into the command prompt and hit enter than proceed to step 5.

5) If al goes wel you should now be presented with an calibration window with more than 4 points hit all the points and your touchscreen should be
beter to use in older applications.

if you get any syntax error make sure there are no spaces in the numbers while copy and pasting.

6) If you get an pop up message when using 4a 4b or 4c saying that there already are calibrations settings entered and that you should go
to the tablet pc settings and hit reset you should do the following:


*Go to Control Panel>Device manager
*In Device Manager, locate the device you want to remove/reset, and then double-click the device name.
*Click the Driver tab, and then click uninstall and disconnect the device from computer and restart.
Now when you reconnect the device after the restart it should reinstall the default driver settings.

Of course you should use these settings at your own risk but it shouldnt be a problem if you made an restore point.

As an result my touchscreen works 100% in every part of the screen.

If you have used this guide please let me know your results and dont forget my thanks meter .

Sources used:

http://forum.tabletpcreview.com/ep12...ion-trick.html
http://answers.microsoft.com/en-us/w...5-ec6e7de2603d
The Following 14 Users Say Thank You to young blade For This Useful Post: [ Click to Expand ]
 
tboy2000
Old
#2  
tboy2000's Avatar
Senior Member
Thanks Meter 233
Posts: 1,517
Join Date: Oct 2006
Location: London
No offense, but I don't think anyone is going to try this. Seems far too complicated.

Unlocked Samsung Ativ S 8.1
Dell Venue 8 Pro 64gb Windows 8.1
Dell Inspiron One 2320 AIO (QuadCore i7-2600S 2.80GHz, 8gig Ram, 2TB HD) Windows 8.1


*List of WP8 Apps & Games at Full Screen Resolution, No Black Bars*


*My Surface Hints, Tips and Registry Tweaks Thread*


*My Leo Hints, Tips and Registry Tweaks Thread*


*Make your own HD2 self-contained Kickstand*
 
young blade
Old
#3  
young blade's Avatar
Senior Member - OP
Thanks Meter 17
Posts: 448
Join Date: Oct 2008
Location: Rotterdam
Well I'm not so sure about that.. Beacause the moment your touch input is way of from the point that you touched you will be frustrated with a useless screen. thats when this thread will be a handy guide.

And also I do believe people are appriciating this thread because my thanks meter is climbing slowly .
 
qazzi76
Old
#4  
Senior Member
Thanks Meter 83
Posts: 393
Join Date: Dec 2004
Default Frustrating... WACOM...

So I've tried this on my series 7 slate but am having no joy...

I've tried this with default windows drivers as well as the wacom drivers and each case the results are still inconsistent.

Also settings defined in portrait adversely affect settings defined in landsacpe and vice versa...

It's quite frustrating as I need this thing for note taking...

I am actively looking into this and will share any findings with the you all.

Quote:
Originally Posted by young blade View Post
Dear XDA friends today I make available an guide to align/calibrate the touch screen with more than just 4 points.

The benefit of aligning the screen with more than just more than 4 points is that the touch screen will be more acurate
when there is an touch input.

After much frustration of my 22" touch panel not registering my touch inputs the way it should I've spend weeks to search the internet
for an solution to this problem.

And the problem lies in the fact that microsofts calibration tool offers too few calibration points (4 or a few more for pen input).

This guide also applies to pen inputs but when using a pen you should keep in mind that the first point you touch while calibrating has to be with the pen.

Before starting off you should make an windows restore point. okay lets get it started.

1) Go to the control panel and open tablet pc settings.

2) Hit reset.

3) Open command prompt CMD as administrator.

4) Choose one of the following options: 4a,4b or 4c:

4a) As mine touchscreen is 22" 1680x1050 I calculated the folowing line to get 150 calibration touch points:

tabcal lincal novalidate XGridPts=5,117,229,341,453,565,667,789,901,1013,11 25,1237,1349,1461,1537,1675 YGridPts=5,109,213,317,421,525,629,733,837,941,104 5

Copy and paste this line above into the command prompt and hit enter than proceed to step 5.


4b) If your screen resolution is 1280x800 and you want 36 calibration see the following line:


tabcal lincal novalidate XGridPts=5,259,513,767,1021,1275 YGridPts=5,163,321,479,637,795

Copy and paste this line above into the command prompt and hit enter than proceed to step 5.

4c) If you have a different screen resolution than the ones above than calculate the best entries for your screen:

lets say you want 36 calibration points for your 1280x720 screen reslotution.
than do the folowing for the XGridPts: 1280-10= 1270
Now we make sure that we start of at XGridPts=5 and the last XGridPts=1275
that leaves us with 1270 Pts lets divide it by 5 > 1270/5= 254
So the steps will be 254Pts

As our first XGridPts=5 we keep adding 254Pts until we get around 1275Pts
So 5Pts+254Pts=259Pts and that will be our second Pts

The result will be: XGridPts=5,259,513,767,1021,1275

Next will be our YGrid:
720-10=710
Now we make sure that we start of at YGridPts=5 and the last YGridPts=715
that leaves us with 710 Pts lets divide it by 5 > 710/5= 142
So the steps will be 142Pts

As our first YGridPts=5 we keep adding 142Pts until we get around 715Pts
So 5Pts+142Pts=147Pts and that will be our second Pts

The result will be: YGridPts=5,147,289,431,573,715

So now we have succesfuly calculated the x and y grid:

XGridPts=5,259,513,767,1021,1275 YGridPts=5,147,289,431,573,715

Copy and paste this line above into the command prompt and hit enter than proceed to step 5.

5) If al goes wel you should now be presented with an calibration window with more than 4 points hit all the points and your touchscreen should be
beter to use in older applications.

if you get any syntax error make sure there are no spaces in the numbers while copy and pasting.

6) If you get an pop up message when using 4a 4b or 4c saying that there already are calibrations settings entered and that you should go
to the tablet pc settings and hit reset you should do the following:


*Go to Control Panel>Device manager
*In Device Manager, locate the device you want to remove/reset, and then double-click the device name.
*Click the Driver tab, and then click uninstall and disconnect the device from computer and restart.
Now when you reconnect the device after the restart it should reinstall the default driver settings.

Of course you should use these settings at your own risk but it shouldnt be a problem if you made an restore point.

As an result my touchscreen works 100% in every part of the screen.

If you have used this guide please let me know your results and dont forget my thanks meter .

Sources used:

http://forum.tabletpcreview.com/ep12...ion-trick.html
http://answers.microsoft.com/en-us/w...5-ec6e7de2603d
 
young blade
Old
#5  
young blade's Avatar
Senior Member - OP
Thanks Meter 17
Posts: 448
Join Date: Oct 2008
Location: Rotterdam
Maybe you should try to calculate more than 36 touch points..
Also check and see what happen if you delete all drivers and use the windows default drivers.

Please let us know your findings.
 
XeLLaR*
Old
#6  
XeLLaR*'s Avatar
Senior Member
Thanks Meter 4222
Posts: 2,544
Join Date: Jun 2012
Location: DevConnection
Front Paged

Samsung Galaxy S Plus (GT-I9001) | CyanogenMod 11 AriesVE_DevCon-Experimental X | Experimental Kernels - In Pension

Samsung Galaxy S3 (GT-I9300) | StockRom JSS15J.I9300XXUGNA5 | Boeffla-Kernel 5.2 - DEAD

Google Nexus 5 (LG D821) | AOSP Android 4.4.4 KTU84P KitKat | Google-Kernel 3.4


Team GitHub
 
thekiller99
Old
#7  
Senior Member
Thanks Meter 6
Posts: 224
Join Date: Feb 2009
This is far too complicated...... how do you set it up for 1920x1680 ??
The Following User Says Thank You to thekiller99 For This Useful Post: [ Click to Expand ]
 
young blade
Old
#8  
young blade's Avatar
Senior Member - OP
Thanks Meter 17
Posts: 448
Join Date: Oct 2008
Location: Rotterdam
Quote:
Originally Posted by thekiller99 View Post
This is far too complicated...... how do you set it up for 1920x1680 ??
1920 gives you: starting point 5 and ending point 1915.
Than you do 1915 - 10 = 1910

divide 1910 by 5 -> 1910/5= 382

so your starting Xgrid point is 5.
second = 5+382=387
next 387+382=769
next 769+382=1151
next = 1151+382=1533
next = 1533+382=1915

Yeah all went well so or Xgrid will be:

XGridPts=5,387,769,1151,1533,1915

Now you do the same for the Ygrid.

start off by doing 1680-10=1670

than divide 1670 by 5= 1670/5=334

Good luck..!!
 
GilesTheAlmighty
Old
#9  
GilesTheAlmighty's Avatar
Senior Member
Thanks Meter 0
Posts: 102
Join Date: Sep 2006
Hey! This is absolutely great!

I came here looking for a method to increase calibration for my HP 2740p Tablet PC! I have successfully used your calibration data and so far it seems a lot more consistent! It used to 'drift' a lot in the middle of the screen, with the edges being alright.. Will this need to be calibrated if I rotate the screen? I'll have to reverse the X and Y values first though, but is it necessary?

Thanks for this awesome tutorial,

Regards Giles
-- Giles --
 
young blade
Old
#10  
young blade's Avatar
Senior Member - OP
Thanks Meter 17
Posts: 448
Join Date: Oct 2008
Location: Rotterdam
Quote:
Originally Posted by GilesTheAlmighty View Post
Hey! This is absolutely great!

I came here looking for a method to increase calibration for my HP 2740p Tablet PC! I have successfully used your calibration data and so far it seems a lot more consistent! It used to 'drift' a lot in the middle of the screen, with the edges being alright.. Will this need to be calibrated if I rotate the screen? I'll have to reverse the X and Y values first though, but is it necessary?

Thanks for this awesome tutorial,

Regards Giles
I'm pleased that it helped you out.. i would say just experiment with it.. and dont forget my thanks meter..

Tags
calibration, input, settings, tablet, touch
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


MacroDroid Update Brings Android Wear Automation

A few months ago, we talked about MacroDroid. For those who don’t remember, MacroDroid … more

Droid X Receives KitKat Port, Upcoming Google Glass Firmware Improvements – XDA Developer TV

Android 4.4.3 lands on the European HTC … more

Calc+ is a Smart and Beautiful Android Calculator

As we’ve said inthe past, there are quite a few calculators available on Android. … more

Get Better Debug Data with Crash Report SDK

Developing an application is a hard and often times ungratifying task. It also requires quite a … more