VirtualBox

Changeset 49352 in vbox for trunk


Ignore:
Timestamp:
Oct 31, 2013 5:31:04 PM (11 years ago)
Author:
vboxsync
Message:

Mac OS X host: LEDs sync: driver for some kbd devices might stuck in attempt to set SCROLL LED (apple kbds have no such LED); added #ifdef switch in order to disable SCROLL leds sync; currently that sync is disabled.

File:
1 edited

Legend:

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

    r49321 r49352  
    2424
    2525#define VBOX_WITH_KBD_LEDS_SYNC
     26//#define VBOX_WITH_KBD_SCROLL_LED_SYNC
    2627//#define VBOX_WITHOUT_KBD_LEDS_SYNC_FILTERING
    2728
     
    13421343                    rc = darwinLedElementSetValue(hidDevice, element, fCapsLockOn);
    13431344                    break;
    1344 
     1345#ifdef VBOX_WITH_KBD_SCROLL_LED_SYNC
    13451346                case kHIDUsage_LED_ScrollLock:
    13461347                    rc = darwinLedElementSetValue(hidDevice, element, fScrollLockOn);
    13471348                    break;
     1349#endif
    13481350            }
    13491351            if (rc != 0)
     
    13881390                    rc = darwinLedElementGetValue(hidDevice, element, fCapsLockOn);
    13891391                    break;
    1390 
     1392#ifdef VBOX_WITH_KBD_SCROLL_LED_SYNC
    13911393                case kHIDUsage_LED_ScrollLock:
    13921394                    rc = darwinLedElementGetValue(hidDevice, element, fScrollLockOn);
    13931395                    break;
     1396#endif
    13941397            }
    13951398            if (rc != 0)
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