Changeset 47613 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Aug 8, 2013 12:38:41 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Input/UsbMouse.cpp
r47576 r47613 1200 1200 default: 1201 1201 AssertFailed(); /* Unexpected here. */ 1202 cbCopy = 0; 1202 1203 break; 1203 1204 } … … 1892 1893 pDesc = (const uint8_t *)&g_UsbHidMTIfHidDesc; 1893 1894 break; 1895 default: 1896 cbDesc = 0; 1897 pDesc = 0; 1898 break; 1894 1899 } 1895 1900 /* Returned data is written after the setup message. */ … … 1908 1913 { 1909 1914 case USBHIDMODE_ABSOLUTE: 1910 {1911 1915 cbDesc = sizeof(g_UsbHidTReportDesc); 1912 1916 pDesc = (const uint8_t *)&g_UsbHidTReportDesc; 1913 1917 break; 1914 }1915 1918 case USBHIDMODE_RELATIVE: 1916 {1917 1919 cbDesc = sizeof(g_UsbHidMReportDesc); 1918 1920 pDesc = (const uint8_t *)&g_UsbHidMReportDesc; 1919 1921 break; 1920 }1921 1922 case USBHIDMODE_MULTI_TOUCH: 1922 {1923 1923 cbDesc = sizeof(g_UsbHidMTReportDesc); 1924 1924 pDesc = (const uint8_t *)&g_UsbHidMTReportDesc; 1925 1925 break; 1926 } 1926 default: 1927 cbDesc = 0; 1928 pDesc = 0; 1929 break; 1927 1930 } 1928 1931 /* Returned data is written after the setup message. */
Note:
See TracChangeset
for help on using the changeset viewer.