VirtualBox

Ignore:
Timestamp:
Oct 1, 2013 5:27:38 PM (11 years ago)
Author:
vboxsync
Message:

OS X host: leds sync: more logging, no async timer, enabled again.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
2 edited

Legend:

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

    r48800 r48801  
    2222*******************************************************************************/
    2323#define LOG_GROUP LOG_GROUP_GUI
    24 //#define VBOX_WITH_KBD_LEDS_SYNC
     24#define VBOX_WITH_KBD_LEDS_SYNC
    2525
    2626#include "DarwinKeyboard.h"
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp

    r48647 r48801  
    10351035                     * As we have no ipc between threads of different VMs
    10361036                     * we are using 300ms timer as lazy sync timout: */
    1037                     QTimer::singleShot(300, this, SLOT(sltSwitchKeyboardLedsToGuestLeds()));
     1037                    //QTimer::singleShot(300, this, SLOT(sltSwitchKeyboardLedsToGuestLeds()));
     1038
     1039                    /* Trigger callback synchronously for now! */
     1040                    sltSwitchKeyboardLedsToGuestLeds();
    10381041                    break;
    10391042                }
     
    21912194    /* Here we have to update host LED lock states using values provided by UISession registry.
    21922195     * [bool] uisession() -> isNumLock(), isCapsLock(), isScrollLock() can be used for that. */
     2196
     2197    LogRelFlow(("UIMachineLogic::sltSwitchKeyboardLedsToGuestLeds: keep host LED lock states and broadcast guest's ones (NOT IMPLEMENTED).\n"));
    21932198#ifdef Q_WS_MAC
    21942199    if (m_pHostLedsState == NULL)
     
    22052210//           strDt.toAscii().constData(),
    22062211//           session().GetMachine().GetName().toAscii().constData());
     2212
     2213    LogRelFlow(("UIMachineLogic::sltSwitchKeyboardLedsToPreviousLeds: restore host LED lock states (NOT IMPLEMENTED).\n"));
    22072214
    22082215    /* Here we have to restore host LED lock states. */
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