VirtualBox

Changeset 26681 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Feb 22, 2010 4:38:15 PM (15 years ago)
Author:
vboxsync
Message:

Main: Transfer tablet/mouse setting to USB device.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r26662 r26681  
    19251925# endif
    19261926
    1927             /* Virtual USB Mouse*/
     1927            /* Virtual USB Mouse/Tablet */
    19281928            PointingHidType_T aPointingHid;
    19291929            hrc = pMachine->COMGETTER(PointingHidType)(&aPointingHid);               H();
    1930             if (aPointingHid == PointingHidType_USBMouse)
     1930            if (aPointingHid == PointingHidType_USBMouse || aPointingHid == PointingHidType_USBTablet)
    19311931            {
    19321932                rc = CFGMR3InsertNode(pUsbDevices, "HidMouse", &pDev);               RC_CHECK();
     
    19341934                rc = CFGMR3InsertNode(pInst,    "Config", &pCfg);                    RC_CHECK();
    19351935
     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                }
    19361944                rc = CFGMR3InsertNode(pInst,    "LUN#0", &pLunL0);                   RC_CHECK();
    19371945                rc = CFGMR3InsertString(pLunL0, "Driver",        "MouseQueue");      RC_CHECK();
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette