The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL2 and tslib
Andrea
Guest

Hi,
Could some one give me some information how to manage touch screen
input from tslib with sdl2?

With sdl1 I used this configuration:
export TSLIB_TSDEVICE=/dev/input/event0
export TSLIB_TSEVENTTYPE=INPUT
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_PLUGINDIR=/usr/lib/ts
export SDL_MOUSEDRV=TSLIB
export SDL_MOUSEDEV=/dev/input/event0
export SDL_NOMOUSE=1

but with SDL2 seems that tslib isn't implemented, SDL_INPUT_TSLIB
variable and video/fbcon/SDL_fbevents.c there aren't more..

thank you
Andrea
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org