Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 538 → Rev 547

/shark/trunk/drivers/input/handler/mouse.c
76,8 → 76,6
 
/*
* Get data from the mouse
*
* it's follow the port_receive() semantic
*/
int mouse_get(int *dx, int *dy, int *dz, unsigned long *buttons)
{
92,7 → 90,6
*buttons = mbuffer[mtail].buttons;
#ifdef DEBUG_MOUSE
printk(KERN_DEBUG "mouse.c: ( %3d %3d %3d - %6x)\n", mbuffer[mtail].dx, mbuffer[mtail].dy, mbuffer[mtail].dz, (int)mbuffer[mtail].buttons);
printk(KERN_DEBUG "mouse.c: ( %3d %3d %3d - %6x)\n", *dx, *dy, *dz, *(int *)buttons);
#endif
return 0;