Changeset 40592 in vbox for trunk/src/VBox/Devices/Input
- Timestamp:
- Mar 23, 2012 1:54:13 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Input/PS2K.cpp
r40367 r40592 721 721 case KCMD_ECHO: 722 722 PS2InsertQueue((GeneriQ *)&pThis->cmdQ, KRSP_ECHO); 723 pThis->u8CurrCmd = 0; 723 724 break; 724 725 case KCMD_READ_ID: … … 726 727 PS2InsertQueue((GeneriQ *)&pThis->cmdQ, KRSP_ID1); 727 728 PS2InsertQueue((GeneriQ *)&pThis->cmdQ, KRSP_ID2); 729 pThis->u8CurrCmd = 0; 728 730 break; 729 731 case KCMD_ENABLE: … … 732 734 /* Clear last typematic key?? */ 733 735 PS2InsertQueue((GeneriQ *)&pThis->cmdQ, KRSP_ACK); 736 pThis->u8CurrCmd = 0; 734 737 break; 735 738 case KCMD_DFLT_DISABLE: … … 737 740 PS2KSetDefaults(pThis); 738 741 PS2InsertQueue((GeneriQ *)&pThis->cmdQ, KRSP_ACK); 742 pThis->u8CurrCmd = 0; 739 743 break; 740 744 case KCMD_SET_DEFAULT: 741 745 PS2KSetDefaults(pThis); 742 746 PS2InsertQueue((GeneriQ *)&pThis->cmdQ, KRSP_ACK); 747 pThis->u8CurrCmd = 0; 743 748 break; 744 749 case KCMD_ALL_TYPEMATIC: … … 748 753 //@todo: Set the key types here. 749 754 PS2InsertQueue((GeneriQ *)&pThis->cmdQ, KRSP_ACK); 755 pThis->u8CurrCmd = 0; 750 756 break; 751 757 case KCMD_RESEND: 758 pThis->u8CurrCmd = 0; 752 759 break; 753 760 case KCMD_RESET: … … 821 828 case KCMD_INVALID_2: 822 829 PS2InsertQueue((GeneriQ *)&pThis->cmdQ, KRSP_RESEND); 830 pThis->u8CurrCmd = 0; 823 831 break; 824 832 }
Note:
See TracChangeset
for help on using the changeset viewer.