Changeset 7261 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Mar 4, 2008 9:07:03 AM (17 years ago)
- Location:
- trunk/src/VBox/Additions/x11/xmouse
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/xmouse/xorg14/pnp.c
r6202 r7261 596 596 int i,j; 597 597 598 #ifdef DEBUG598 #ifdef MOUSE_DEBUG 599 599 xf86ErrorF("Ps/2 data package:"); 600 600 for (i = 0; i < len; i++) … … 608 608 usleep(10000); 609 609 if (!readMouse(pInfo,&c)) { 610 #ifdef DEBUG610 #ifdef MOUSE_DEBUG 611 611 xf86ErrorF("sending 0x%x to PS/2 unsuccessful\n",*(bytes + i)); 612 612 #endif 613 613 return FALSE; 614 614 } 615 #ifdef DEBUG615 #ifdef MOUSE_DEBUG 616 616 xf86ErrorF("Recieved: 0x%x\n",c); 617 617 #endif … … 670 670 break; 671 671 } 672 #ifdef DEBUG672 #ifdef MOUSE_DEBUG 673 673 xf86ErrorF("Obtained Mouse Type: %x\n",u); 674 674 #endif … … 683 683 unsigned char reply[] = { 0xaa, 0x00 }; 684 684 unsigned int i; 685 #ifdef DEBUG685 #ifdef MOUSE_DEBUG 686 686 xf86ErrorF("PS/2 Mouse reset\n"); 687 687 #endif -
trunk/src/VBox/Additions/x11/xmouse/xorg70/pnp.c
r6202 r7261 589 589 int i,j; 590 590 591 #ifdef DEBUG591 #ifdef MOUSE_DEBUG 592 592 xf86ErrorF("Ps/2 data package:"); 593 593 for (i = 0; i < len; i++) … … 601 601 usleep(10000); 602 602 if (!readMouse(pInfo,&c)) { 603 #ifdef DEBUG603 #ifdef MOUSE_DEBUG 604 604 xf86ErrorF("sending 0x%x to PS/2 unsuccessful\n",*(bytes + i)); 605 605 #endif 606 606 return FALSE; 607 607 } 608 #ifdef DEBUG608 #ifdef MOUSE_DEBUG 609 609 xf86ErrorF("Recieved: 0x%x\n",c); 610 610 #endif … … 663 663 break; 664 664 } 665 #ifdef DEBUG665 #ifdef MOUSE_DEBUG 666 666 xf86ErrorF("Obtained Mouse Type: %x\n",u); 667 667 #endif … … 676 676 unsigned char reply[] = { 0xaa, 0x00 }; 677 677 unsigned int i; 678 #ifdef DEBUG678 #ifdef MOUSE_DEBUG 679 679 xf86ErrorF("PS/2 Mouse reset\n"); 680 680 #endif -
trunk/src/VBox/Additions/x11/xmouse/xorg71/pnp.c
r6202 r7261 596 596 int i,j; 597 597 598 #ifdef DEBUG598 #ifdef MOUSE_DEBUG 599 599 xf86ErrorF("Ps/2 data package:"); 600 600 for (i = 0; i < len; i++) … … 608 608 usleep(10000); 609 609 if (!readMouse(pInfo,&c)) { 610 #ifdef DEBUG610 #ifdef MOUSE_DEBUG 611 611 xf86ErrorF("sending 0x%x to PS/2 unsuccessful\n",*(bytes + i)); 612 612 #endif 613 613 return FALSE; 614 614 } 615 #ifdef DEBUG615 #ifdef MOUSE_DEBUG 616 616 xf86ErrorF("Recieved: 0x%x\n",c); 617 617 #endif … … 670 670 break; 671 671 } 672 #ifdef DEBUG672 #ifdef MOUSE_DEBUG 673 673 xf86ErrorF("Obtained Mouse Type: %x\n",u); 674 674 #endif … … 683 683 unsigned char reply[] = { 0xaa, 0x00 }; 684 684 unsigned int i; 685 #ifdef DEBUG685 #ifdef MOUSE_DEBUG 686 686 xf86ErrorF("PS/2 Mouse reset\n"); 687 687 #endif
Note:
See TracChangeset
for help on using the changeset viewer.