Touch Screen Rotation

Discussion around AT91RM9200 and SAM9 Series Products.

Moderator: nferre

maupertius
Posts: 7
Joined: Tue Mar 10, 2015 8:58 pm

Touch Screen Rotation

Tue Oct 11, 2016 6:06 pm

Hi, I've got a touch screen module based on the AT91SAM9X35 processor. I am trying to rotate the touch screen output (both image and touch screen coordinates) by 180 degrees (equivalent to a horizontal flip). I am not sure how to do this. I tried the

Code: Select all

 echo 2 > /sys/class/graphics/fb0/rotate
as suggested on a website but nothing seems to happen. Any suggestion?
blue_z
Location: USA
Posts: 1560
Joined: Thu Apr 19, 2007 10:15 pm

Re: Touch Screen Rotation

Thu Oct 13, 2016 2:19 am

maupertius wrote:I am trying to rotate the touch screen output (both image and touch screen coordinates) by 180 degrees (equivalent to a horizontal flip).
A touchscreen is an input device.
If you're using Linux, then tslib is a portable way to use a touchscreen.
http://www.armadeus.org/wiki/index.php?title=Tslib

Regards

Return to “SAM9 ARM9 MPU”

Who is online

Users browsing this forum: Google [Bot] and 2 guests