Touchscreen Test Forcaanoo


hardyx

Member
Joined
Jun 9, 2008
Messages
272
Website
Visit site
I have ported to Caanoo this simple application, wich was made to test the Wiz touch screen. The program allows to draw in screen with the stylus, on a reference grid. When any button is pressed exits and saves the screen in a image.

The Caanoo screen seems more accurate. The archive includes the executable and the source code.

2h84lee.jpg


 
Hey Cool My program got ported. Thanks. I feel so important now ;) I'm gonna see if my Caanoo touchscreen is better quality then the Wiz.
 
Rikku2000 said:
with sdl is simple how about linux touchscreen? with libTS.

it's also simple (error checking code omitted)

Code:
#define TOUCHSCREENDEVICE "/dev/input/event0"

struct tsdev* touchScreenDevice;

// open the device
touchScreenDevice = ts_open(TOUCHSCREENDEVICE, 1);

// configure it
ts_config(touchScreenDevice);

// read a sample
ts_sample tss;
ts_read(touchScreenDevice , &tss, 1);

// close it when no longer needed
ts_close(touchScreenDevice);
 
Last edited by a moderator:
thanks crow_riot i will use it for gph quake so i can remove the sdl stuff haha
 
not big the one is use SDL and the other is Touch Lib but in my Quake i dont want use any kind of SDL
 
Back
Top