VirtualBox

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


Ignore:
Timestamp:
Feb 11, 2010 4:56:04 PM (15 years ago)
Author:
vboxsync
Message:

Main: cosmetics

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r26440 r26444  
    11311131   >
    11321132    <desc>
    1133       Type of pointing device.
     1133      Type of pointing device used in a virtual machine.
    11341134    </desc>
    11351135    <const name="None"           value="1">
     
    11561156   >
    11571157    <desc>
    1158       Type of keyboard device.
     1158      Type of keyboard device used in a virtual machine.
    11591159    </desc>
    11601160    <const name="None"              value="1">
     
    44724472
    44734473    <attribute name="pointingHidType" type="PointingHidType">
    4474       <desc>Type of pointing HID (such as mouse or tablet), used in this VM.</desc>
     4474      <desc>Type of pointing HID (such as mouse or tablet) used in this VM.
     4475        The default is typically "PS2Mouse" but can vary depending on the
     4476        requirements of the guest operating system.</desc>
    44754477    </attribute>
    44764478
    44774479    <attribute name="keyboardHidType" type="KeyboardHidType">
    4478       <desc>Type of keyboard HID, used in this VM.</desc>
     4480      <desc>Type of keyboard HID used in this VM
     4481        The default is typically "PS2Keyboard" but can vary depending on the
     4482        requirements of the guest operating system.</desc>
    44794483    </attribute>
    44804484
  • trunk/src/VBox/Main/xml/Settings.cpp

    r26440 r26444  
    20602060            if (pelmHwChild->getAttributeValue("Keyboard", strHidType))
    20612061            {
    2062                 if (    (strHidType == "None")
    2063                         )
     2062                if (strHidType == "None")
    20642063                    hw.keyboardHidType = KeyboardHidType_None;
    2065                 else if (    (strHidType == "USBKeyboard")
    2066                         )
     2064                else if (strHidType == "USBKeyboard")
    20672065                    hw.keyboardHidType = KeyboardHidType_USBKeyboard;
    2068                 else if (    (strHidType == "PS2Keyboard")
    2069                         )
     2066                else if (strHidType == "PS2Keyboard")
    20702067                    hw.keyboardHidType = KeyboardHidType_PS2Keyboard;
    2071                 else if (    (strHidType == "ComboKeyboard")
    2072                         )
     2068                else if (strHidType == "ComboKeyboard")
    20732069                    hw.keyboardHidType = KeyboardHidType_ComboKeyboard;
    20742070                else
     
    20802076            if (pelmHwChild->getAttributeValue("Pointing", strHidType))
    20812077            {
    2082                  if (    (strHidType == "None")
    2083                         )
     2078                 if (strHidType == "None")
    20842079                    hw.pointingHidType = PointingHidType_None;
    2085                 else if (    (strHidType == "USBMouse")
    2086                         )
     2080                else if (strHidType == "USBMouse")
    20872081                    hw.pointingHidType = PointingHidType_USBMouse;
    2088                 else if (    (strHidType == "UsbTablet")
    2089                         )
     2082                else if (strHidType == "UsbTablet")
    20902083                    hw.pointingHidType = PointingHidType_USBTablet;
    2091                 else if (    (strHidType == "PS2Mouse")
    2092                         )
     2084                else if (strHidType == "PS2Mouse")
    20932085                    hw.pointingHidType = PointingHidType_PS2Mouse;
    2094                 else if (    (strHidType == "ComboMouse")
    2095                         )
     2086                else if (strHidType == "ComboMouse")
    20962087                    hw.pointingHidType = PointingHidType_ComboMouse;
    20972088                else
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