Changeset 26444 in vbox for trunk/src/VBox/Main
- Timestamp:
- Feb 11, 2010 4:56:04 PM (15 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r26440 r26444 1131 1131 > 1132 1132 <desc> 1133 Type of pointing device .1133 Type of pointing device used in a virtual machine. 1134 1134 </desc> 1135 1135 <const name="None" value="1"> … … 1156 1156 > 1157 1157 <desc> 1158 Type of keyboard device .1158 Type of keyboard device used in a virtual machine. 1159 1159 </desc> 1160 1160 <const name="None" value="1"> … … 4472 4472 4473 4473 <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> 4475 4477 </attribute> 4476 4478 4477 4479 <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> 4479 4483 </attribute> 4480 4484 -
trunk/src/VBox/Main/xml/Settings.cpp
r26440 r26444 2060 2060 if (pelmHwChild->getAttributeValue("Keyboard", strHidType)) 2061 2061 { 2062 if ( (strHidType == "None") 2063 ) 2062 if (strHidType == "None") 2064 2063 hw.keyboardHidType = KeyboardHidType_None; 2065 else if ( (strHidType == "USBKeyboard") 2066 ) 2064 else if (strHidType == "USBKeyboard") 2067 2065 hw.keyboardHidType = KeyboardHidType_USBKeyboard; 2068 else if ( (strHidType == "PS2Keyboard") 2069 ) 2066 else if (strHidType == "PS2Keyboard") 2070 2067 hw.keyboardHidType = KeyboardHidType_PS2Keyboard; 2071 else if ( (strHidType == "ComboKeyboard") 2072 ) 2068 else if (strHidType == "ComboKeyboard") 2073 2069 hw.keyboardHidType = KeyboardHidType_ComboKeyboard; 2074 2070 else … … 2080 2076 if (pelmHwChild->getAttributeValue("Pointing", strHidType)) 2081 2077 { 2082 if ( (strHidType == "None") 2083 ) 2078 if (strHidType == "None") 2084 2079 hw.pointingHidType = PointingHidType_None; 2085 else if ( (strHidType == "USBMouse") 2086 ) 2080 else if (strHidType == "USBMouse") 2087 2081 hw.pointingHidType = PointingHidType_USBMouse; 2088 else if ( (strHidType == "UsbTablet") 2089 ) 2082 else if (strHidType == "UsbTablet") 2090 2083 hw.pointingHidType = PointingHidType_USBTablet; 2091 else if ( (strHidType == "PS2Mouse") 2092 ) 2084 else if (strHidType == "PS2Mouse") 2093 2085 hw.pointingHidType = PointingHidType_PS2Mouse; 2094 else if ( (strHidType == "ComboMouse") 2095 ) 2086 else if (strHidType == "ComboMouse") 2096 2087 hw.pointingHidType = PointingHidType_ComboMouse; 2097 2088 else
Note:
See TracChangeset
for help on using the changeset viewer.