Changeset 34012 in vbox
- Timestamp:
- Nov 11, 2010 8:35:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/KeyboardImpl.cpp
r33061 r34012 185 185 scancode, vrc); 186 186 187 VBoxEventDesc evDesc; 188 com::SafeArray<LONG> scancodes(1); 189 scancodes[0] = scancode; 190 evDesc.init(mEventSource, VBoxEventType_OnGuestKeyboardEvent, ComSafeArrayAsInParam(scancodes)); 191 evDesc.fire(0); 187 192 return rc; 188 193 } … … 243 248 if (codesStored) 244 249 *codesStored = (uint32_t)keys.size(); 245 #if 1 250 246 251 VBoxEventDesc evDesc; 247 evDesc.init(mEventSource, VBoxEventType_OnGuestKeyboardEvent, 248 #ifdef RT_OS_WINDOWS 249 scancodes 250 #else 251 scancodesSize, scancodes 252 #endif 253 ); 252 evDesc.init(mEventSource, VBoxEventType_OnGuestKeyboardEvent, ComSafeArrayAsInParam(keys)); 254 253 evDesc.fire(0); 255 #endif256 254 257 255 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.