Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touchscreen calibration #113

Open
Saku86 opened this issue Feb 29, 2020 · 1 comment
Open

Touchscreen calibration #113

Saku86 opened this issue Feb 29, 2020 · 1 comment
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@Saku86
Copy link

Saku86 commented Feb 29, 2020

Hi

I am not sure if this is correct to create a new issue, but my problem doesn't fit into any other issues.
I'm new here in Github because of the Teleframe. Recently my touchscreen 7inch display arrived, but there is one problem I can't handle so far. I put the display into a 10x15cm picture frame. Since the display is a bit larger I used the overscan feature to create some borders so the picture fits perfectly into the frame. Unfortunately the touchscreen area didn't change. When I try to touch the buttons raspberry "thinks" that I touched exactly the overscanned pixel. That means Raspberry doesn't realize where I touch correctly. I calibrated the screen but even in the calibration mode Raspberry doesn't recognize the correct area. Does anyone of you know a feature to determine the area for the touchscreen?
I hope that this was understandable. Thank you very much for your help.

@LukeSkywalker92 LukeSkywalker92 added help wanted Extra attention is needed question Further information is requested labels Mar 2, 2020
@KateiRen
Copy link
Contributor

I have to use xinput set-prop '8' 'Coordinate Transformation Matrix' 0 1 0 -1 0 1 0 0 1 when rotating my tablets screen orientation to make the touch orientation follow. This is just a rotation transformation, but I would expect changing the 1 to 0.x or 0,x might allow for a size altering transformation as well.

Note that the device ID number '8' above may change if any devices are plugged into the USB port.
running xinit on the machine itself shows the device list with IDs attached.

Using man xinput or googling xinput transformation might help getting closer to your solution.

Good luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants