Skip to content

User mode driver for Raspberry Pi's Tontek/MZTX-PI-EXT 320x240 LCD with TSC2003 resistive touchscreen controller

License

Notifications You must be signed in to change notification settings

xofc/tsc2uinput

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tsc2uinput

User mode driver for Raspberry Pi's Tontek/MZTX-PI-EXT 320x240 LCD with TSC2003 resistive touchscreen controller

This short (kind of) experimental driver reads XY pos and touch state though the I2C bus (on the connector P1 of Raspberries) and sends events to /dev/uinput. It is to be used with the Tontek / MZTX-PI-EXT LCD Touchscreen.

/etc/rc.local launches

/usr/local/bin/mztx06a & # touchscreen Tontec

which sends screen buffer diffs through the SPI bus (which is slow and computer intensive)

Relevant documents :

usage : 'sudo ./tsc2uinput

Notes :

  • The calibration is hardwired... (and there is debug output)
  • Touchpad emulation with relative events should probably be more appropriate

Setup in /boot/config.txt (mztx06a is in 'landscape' mode)

framebuffer_width=320
framebuffer_height=240

There now exist affordable HDMI LCD screens.

About

User mode driver for Raspberry Pi's Tontek/MZTX-PI-EXT 320x240 LCD with TSC2003 resistive touchscreen controller

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published