Results 1 to 3 of 3

Thread: qt tslib touchscreen y-axis reversed

  1. #1
    Join Date
    Sep 2011
    Posts
    3
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default qt tslib touchscreen y-axis reversed

    Hi,

    In my touch screen after calibration x-axis works perfectly. But y axis is reversed. When I move upwards the cursor goes downwards and vice versa. Is it related to qt , tslib or the driver? what should I do?

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Thanks
    3
    Thanked 39 Times in 39 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qt tslib touchscreen y-axis reversed

    Simply recalibrate your screen using ts_calibrate or the calibration example that came with Qt and you should be ok.

    The axis is inverted in tslib, but tslib (usually) relies on a linear mapping between the physical touch screen readings and the pixel coordinates. In this transformation, it can invert the axis.

  3. #3
    Join Date
    Sep 2011
    Posts
    3
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: qt tslib touchscreen y-axis reversed

    Hi e8johan,

    But I already calibrated several times. But the problem doesn't resolve. I can't understand the linear mapping you are telling. Any way my ts.conf contains followings.

    module raw_input
    module variance delta=30
    module dejitter delta=100

    Thankx.

Similar Threads

  1. Replies: 9
    Last Post: 3rd May 2011, 21:21
  2. Replies: 0
    Last Post: 9th August 2010, 10:46
  3. QTEmbedded tslib -> tsharc touchscreen
    By Honta in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 11th February 2009, 05:36
  4. Tslib
    By rvi.kalepalli in forum Newbie
    Replies: 0
    Last Post: 7th January 2009, 11:02
  5. tslib
    By rishiraj in forum Newbie
    Replies: 0
    Last Post: 5th January 2009, 12:45

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.