ts-7000
[Top] [All Lists]

[ts-7000] egalax driver for QT

To:
Subject: [ts-7000] egalax driver for QT
From: "Adriano Naspolini" <>
Date: Sun, 04 May 2008 02:12:15 -0000
Hi,
I'm using a TS7300 board with lilliput lcd/touchscreen
(www.lilliput.cn). I was developing my graphical application on
nano-x(microwindows) and it worked fine, but as it become larger it
also become hard to handle events, so i decided to change to QT.
Now I don't know how to make a driver for the touchscreen...
I already made a driver to microwindows and I know the packet format
sent by the touchscreen controller, but I don't know how to put it
into QT (QTOpia version is 4.3.3, compiled to 2.4 debian kernel from TS).
I looked at tslib but i don't know exactly what to do.

What I know:
it's in: /dev/tkpanel0

the packet has 6 bytes:
0: dummy.
1: 1 0 0 0 0 0 0 S (where S indicates the touch status: 1 for touch
down and 0 for touch up)
2: 0 0 0 0 X10 X9 X8 X7
3: 0 X6 X5 X4 X3 X2 X1 X0 (where X are data to x coordinate)
4: 0 0 0 0 Y10 Y9 Y8 Y7
5: 0 Y6 Y5 Y4 Y3 Y2 Y1 Y0 (where Y are data to y coordinate)

As you see, it's 11 bit, so a 2048 resolution, and my screen 640x480.

please help.

thanks

Adriano


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] egalax driver for QT, Adriano Naspolini <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU