nanogui: mouse driver
Subject:
mouse driver
From:
"ER" ####@####.####
Date:
1 Jul 2005 14:52:42 +0100
Message-Id: <20050701135213.C042B109EDB@xprdmailfe1.nwk.excite.com>
Hi all,
In the device.h the MOUSEDEV has a function
int (*Read)(MWCOORD *dx,MWCOORD *dy,MWCOORD *dz,int *bp);
but the actural function is the following the the mou_touscreen
static int PD_Read(MWCOORD *px, MWCOORD *py, MWCOORD *pz, int *pb, int mode)
What's the deal here? I surprise the compiler didn't complain and I've just noticed it.
Can someone explain this for me please. Thank you.
What am I trying to do?
Well, I'm using the tslib and it reads the screen coordinates as I intended. I'm trying to understand the mouse driver (touchscreen in this case) so I know the client is passing the correct values, as received, to the server.
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!