VirtualBox

Changeset 49049 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Oct 11, 2013 9:47:58 AM (11 years ago)
Author:
vboxsync
Message:

OS X host: leds sync: turn KBD devices whitelist into a blacklist.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/DarwinKeyboard.cpp

    r49048 r49049  
    13981398
    13991399/** 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.
    14021402 * In future it might make sense to take Product ID into account as well. */
    14031403static bool darwinHidDeviceSupported(IOHIDDeviceRef pHidDeviceRef)
    14041404{
    14051405#ifndef VBOX_WITHOUT_KBD_LEDS_SYNC_FILTERING
    1406     bool      fSupported = false;
     1406    bool      fSupported = true;
    14071407    CFTypeRef pNumberRef;
    14081408    uint32_t  vendorId = 0;
     
    14191419                switch (vendorId)
    14201420                {
    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;
    14251423                        break;
    14261424                }
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