Need help rotating touch screen digitizer

Moderators: odroid, mdrjr

Need help rotating touch screen digitizer

Unread postby debo890 » Tue Jul 14, 2015 11:42 am

Hi, i am very new to odroid development so knowledge is very limited; but trying to learn everyday.
I am trying to make a carputer with the odroid U3 and installing it into my factory navigation location.
i have purchased a chalk-elec open frame digitizer and i will like to rotate the digitizer to match the orientation of my screen. right now, up is down and right is left.
How do i go about inverting X and Y axis in the android kernel for this digitizer?
debo890
 
Posts: 5
Joined: Thu Jun 12, 2014 1:50 am
languages_spoken: english
ODROIDs: Odroid U3

Re: Need help rotating touch screen digitizer

Unread postby odroid » Tue Jul 14, 2015 5:11 pm

Which Android OS image did you install?
If you rotated the screen with our ODROID-Utility, the touch screen coordination also should be rotated automatically.
User avatar
odroid
Site Admin
 
Posts: 21761
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Need help rotating touch screen digitizer

Unread postby debo890 » Wed Jul 15, 2015 10:25 am

Thanks for the reply odorid. I am running the latest Android OS 4.4.4 Kitkat alpha 4.5.
I would like to rotate only the digitizer and not the screen. The screen I am using is a chimei innolux (N070ICG) which has a short bezel at the top that works perfectly with the short overhang in the housing the screen is going in. The digitizer on the other hand has a large bezel of which the lower portion has been cut with a glass cutter and fits the short overhang of the housing. The top part is left as is due to the fact that the remaining portion will still be too big for the short overhang in the housing. Thus the need for rotation.
The odroid-utility I have does not give me the option to rotate the screen when I choose landscape or portrait mode (not that is going to help my needs right now). :(
debo890
 
Posts: 5
Joined: Thu Jun 12, 2014 1:50 am
languages_spoken: english
ODROIDs: Odroid U3

Re: Need help rotating touch screen digitizer

Unread postby odroid » Wed Jul 15, 2015 12:08 pm

I think you need to modify the HID multi-touch device driver source code to swap the X-Y coordination.
User avatar
odroid
Site Admin
 
Posts: 21761
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Need help rotating touch screen digitizer

Unread postby debo890 » Wed Jul 15, 2015 2:42 pm

Any idea where to begin? in the hid-multitouch.c file? what location?
i am trying to invert the touch screen not swap x for y. In short, I am trying to rotate the touch panel 180 deg.
Thanks for your help.
debo890
 
Posts: 5
Joined: Thu Jun 12, 2014 1:50 am
languages_spoken: english
ODROIDs: Odroid U3

Re: Need help rotating touch screen digitizer

Unread postby odroid » Wed Jul 15, 2015 3:38 pm

Refer this link to know how to build the Android kernel.
http://odroid.com/dokuwiki/doku.php?id= ... ing_kernel

You can find the hid-multitouch.c in "/drivers/hid/" directory of the kernel tree.
I believe you can rotate/swap the coordinations as what you want.
User avatar
odroid
Site Admin
 
Posts: 21761
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Need help rotating touch screen digitizer

Unread postby debo890 » Thu Jul 16, 2015 1:34 am

Thanks odroid. Can you help me with the code and where to put the code in the hid_multi touch.c file?
debo890
 
Posts: 5
Joined: Thu Jun 12, 2014 1:50 am
languages_spoken: english
ODROIDs: Odroid U3

Re: Need help rotating touch screen digitizer

Unread postby debo890 » Sat Jul 25, 2015 4:57 pm

Hi all, i still need help with this issue.
can some guide me on how to invert the X and Y axis?
debo890
 
Posts: 5
Joined: Thu Jun 12, 2014 1:50 am
languages_spoken: english
ODROIDs: Odroid U3

Re: Need help rotating touch screen digitizer

Unread postby kre10 » Fri Feb 24, 2017 8:20 pm

Hello, i have same problem with digitizer on my tablet. i bought and install replacement digitizer on vonino Pluri Q8 but have mirror effect on vertical and horizontal.
Did have some solution ?
kre10
 
Posts: 1
Joined: Fri Feb 24, 2017 8:17 pm
languages_spoken: english, russian, bulgarian
ODROIDs: lot of android devices


Return to Android

Who is online

Users browsing this forum: No registered users and 4 guests