Instead of calibrating the PiTFT for X...

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Locked
User avatar
tz1
 
Posts: 32
Joined: Sat Aug 01, 2009 11:26 pm

Instead of calibrating the PiTFT for X...

Post by tz1 »

This is my 95-touchscreen.conf

Code: Select all

Section "InputClass"
        Identifier      "calibration"
        MatchProduct    "stmpe-ts"
        Option  "Calibration"   "3600 360 360 3600"
	Option	"SwapAxes"	"1"
EndSection
The touch area is now a little wider than the screen points, so I can easily get to the edge or corner pixels - there's about 2mm of gap.

You can also calibrate normally, but subtract 150-200 from the larger numbers, and add it to the smaller.

It will be close enough and usually the center will be exact, and it is easy to get used to the edge/corners.

I've altered many ldxe settings like a popup panel at the bottom and smaller fonts. The entries in my .config are attached
Attachments
dot-config-pitft.tgz
dot-config, small panel, fonts, windows
(7.33 KiB) Downloaded 146 times

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: Instead of calibrating the PiTFT for X...

Post by adafruit_support_mike »

Nice! Thanks for posting. ;-)

Locked
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Return to “Adafruit Raspberry Pi® accessories”