nanogui: mouse driver
Subject:
RE: [nanogui] mouse driver
From:
"Van Nguyen \(vannguye\)" ####@####.####
Date:
1 Jul 2005 20:28:31 +0100
Message-Id: <FF6EB3B01E7BBA48B5F490A726CB11EC533A25@xmb-rtp-206.amer.cisco.com>
I think you can just remove the last parameter from the actual function.
It's not used in the function. Other driver (mou_gpm.c) only have 4
param.
> -----Original Message-----
> From: ER ####@####.####
> Sent: Friday, July 01, 2005 3:12 PM
> To: ####@####.####
> Subject: RE: [nanogui] mouse driver
> Importance: High
>
>
> Anyone care to comment?
>
> A few words is better than nothing.
>
>
>
> Thank you.
>
>
>
> ---------------------------------------------------------------------
>
> Date: Fri, 1 Jul 2005 09:52:13 -0400 (EDT)
>
> From: ER ####@####.####
>
> [ Add to Address Book | Block Address | Report as Spam ]
>
> To: ####@####.####
>
> Subject: [nanogui] mouse driver
>
>
>
>
>
> 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!
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>