New method for rotating touch surface

Forums Technical Support for PiScreen New method for rotating touch surface

This topic contains 1 reply, has 2 voices, and was last updated by  Mark Williams 1 month, 4 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6735

    Jofemodo
    Participant

    Hi Mark!

    I’ve been trying to rotate the touch device as described in documentation:

    xinput –set-prop ‘ADS7846 Touchscreen’ ‘Evdev Axis Inversion’ 0 0

    But it doesn’t work anymore with recent kernels. As you can read here, there is a new method:

    https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=172025

    Following this instructions, this command works for me (rotate 180º):

    xinput –set-prop ‘ADS7846 Touchscreen’ ‘Coordinate Transformation Matrix’ -1 0 1 0 -1 1 0 0 1

    You can find a detailed description of this “Coordinate Transformation Matrix” here:

    https://wiki.ubuntu.com/X/InputCoordinateTransformation

    Please, update the documentation ASAP to avoid other users getting confused with this.

    Thanks!

    #6738

    Mark Williams
    Keymaster

    thank you for this.
    I will update the information

    Mark --OzzMaker.com --
    BerryIMU --
    PiScreen - 3.5" TFT for the Rasspberry Pi

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Blip, blop, bloop…