Changeset 26681 in vbox for trunk/src/VBox/Main
- Timestamp:
- Feb 22, 2010 4:38:15 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r26662 r26681 1925 1925 # endif 1926 1926 1927 /* Virtual USB Mouse */1927 /* Virtual USB Mouse/Tablet */ 1928 1928 PointingHidType_T aPointingHid; 1929 1929 hrc = pMachine->COMGETTER(PointingHidType)(&aPointingHid); H(); 1930 if (aPointingHid == PointingHidType_USBMouse )1930 if (aPointingHid == PointingHidType_USBMouse || aPointingHid == PointingHidType_USBTablet) 1931 1931 { 1932 1932 rc = CFGMR3InsertNode(pUsbDevices, "HidMouse", &pDev); RC_CHECK(); … … 1934 1934 rc = CFGMR3InsertNode(pInst, "Config", &pCfg); RC_CHECK(); 1935 1935 1936 if (aPointingHid == PointingHidType_USBTablet) 1937 { 1938 rc = CFGMR3InsertInteger(pCfg, "Absolute", 1); RC_CHECK(); 1939 } 1940 else 1941 { 1942 rc = CFGMR3InsertInteger(pCfg, "Absolute", 0); RC_CHECK(); 1943 } 1936 1944 rc = CFGMR3InsertNode(pInst, "LUN#0", &pLunL0); RC_CHECK(); 1937 1945 rc = CFGMR3InsertString(pLunL0, "Driver", "MouseQueue"); RC_CHECK();
Note:
See TracChangeset
for help on using the changeset viewer.