> 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


---------------------------------------------------------------------
To unsubscribe, e-mail: nanogui-unsubscr...@linuxhacker.org
For additional commands, e-mail: nanogui-h...@linuxhacker.org

Reply via email to