Changeset 49049 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Oct 11, 2013 9:47:58 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/DarwinKeyboard.cpp
r49048 r49049 1398 1398 1399 1399 /** Some keyboard devices might freeze after LEDs manipulation. We filter out such devices here. 1400 * In the list below, devices which verified to be stable against LEDs manipulation.1401 * If you want to add new device,then add it here. Currently, we only filter devices by Vendor ID.1400 * In the list below, devices that known to have such issues. If you want to add new device, 1401 * then add it here. Currently, we only filter devices by Vendor ID. 1402 1402 * In future it might make sense to take Product ID into account as well. */ 1403 1403 static bool darwinHidDeviceSupported(IOHIDDeviceRef pHidDeviceRef) 1404 1404 { 1405 1405 #ifndef VBOX_WITHOUT_KBD_LEDS_SYNC_FILTERING 1406 bool fSupported = false;1406 bool fSupported = true; 1407 1407 CFTypeRef pNumberRef; 1408 1408 uint32_t vendorId = 0; … … 1419 1419 switch (vendorId) 1420 1420 { 1421 case kIOUSBVendorIDAppleComputer: /** Apple devices always in the list */ 1422 case 0x03F0: /** Hewlett-Packard (verified with model KU-0316) */ 1423 case 0x0430: /** Sun keyboards */ 1424 fSupported = true; 1421 case 0x05D5: /** Genius (detected with GK-04008/C keyboard) */ 1422 fSupported = false; 1425 1423 break; 1426 1424 }
Note:
See TracChangeset
for help on using the changeset viewer.