nanogui: microwindows touch screen using input event0 not working
Subject:
Re: [nanogui] microwindows touch screen using input event0 not working
From:
"Greg Haerr" ####@####.####
Date:
26 Jul 2011 18:26:25 -0000
Message-Id: <183001cc4bc1$aa030e00$0300a8c0@RDP>
> I see mouse touch events coming from mou_event.c (the new driver instead
> of mou_touchscreen.c).
> I see mouse touch events coming from devmouse.c (GrReadMouse displays new
> x,y positions).
> But, nxcal, nxscribble do not show any mouse events or movement.
> Can you help me troubleshoot how to get applications to see the mouse
> position, when the engine sees it?
Larry -
I assume you're running the nano-X API. The GdReadMouse routine
is called in nanox/srvevents.c to queue up events from the lower level
driver into the nano-X event queue. grep that file and put some debug
statements in the routine that calls devmouse.c::GdReadMouse()
and queues the events for the nano-X application. IIRC this routine
is something like GsMouseEvent. The GsMouseEvent routine is
called from the upper level main loop in nanox/srvmain.c::GsSelect()
when it is notified that there is new mouse data. GsMouseEvent
then calls GdReadMouse and the mou_touchscreen driver entry point.
Regards,
Greg