Hi!
First message here :)
I am working on a small linux handheld device with a
touchscreen driver which output the same structure as iPaq
h3600's driver so I decided to use a quickly modified version
of input/h3600ts.c to deal with it (just changed the device to
open and the header to call but the structure defined is the
same).
For the moment the touchscreen is the only input device.
When I try to play with any apps bundled with picogui,
everything is fine until I touch the screen with the stylus.
Usually the click will performe its action but the program
crashes just after, and pgserver goes with it.
<<<<<
*** PicoGUI ERROR (CLIENT) : recv error
[1]+ Illegal instruction (core dumped) pgserver -c pguiconf
Broken pipe
>>>>>
The h3600ts driver uses :
"infilter_send_pointing(PG_TRIGGER_PNTR_STATUS, x, y,
ev.pressure, NULL);" to send the event.
I use blackout as an application test. I tried to remove
everything in blackout's evtMouseDown function and it still
crash so I guess it's server side that the problem occurs.
When the screen is touched, the driver put ev.pressure at
0x0000FFFF (as reported in pgserver's input debugging). I
don't know the value for iPaq h3600ts, is there a difference?
What are the accepted values for the 4th parameter of
infilter_send_pointing ?
I tried 0x0000000F and also 0x00000001 without success so
maybe the problem is not here...
Attached with this email is what I get with input debugging on
(maybe I should activate more debug options) and with
ev.pressure replaced by 1 in infilter_send_pointing of
h3600ts.c ... if it can help.
I begin with picogui so I am not familiar yet and I don't know
what are all the files to look at to resolv this issue (grep
is my friend ^_^ but sometimes I get lost >_< ).
-------------------------------------
Adrien CONSTANCIN
[EMAIL PROTECTED]
RICM3, Polytech'Grenoble
-------------------------------------
Acc�dez au courrier �lectronique de La Poste : www.laposte.net ;
3615 LAPOSTENET (0,34�/mn) ; t�l : 08 92 68 13 50 (0,34�/mn)
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel