VirtualBox

忽略:
時間撮記:
2013-12-17 下午08:20:45 (11 年 以前)
作者:
vboxsync
訊息:

Mac OS X host: HID LEDs sync: take care about bluetooth keyboard: wake it up before setting LED in order to decrease LED-set-operation delay up to ~1-0.5 seconds.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/HostDrivers/Support/SUPLib.cpp

    r49787 r49965  
    21342134
    21352135
    2136 SUPR3DECL(int) SUPR3ResumeBuiltinKeyboard(void)
     2136SUPR3DECL(int) SUPR3ResumeSuspendedKeyboards(void)
    21372137{
    21382138#ifdef RT_OS_DARWIN
     
    21432143    Req.u32Cookie       = g_u32Cookie;
    21442144    Req.u32SessionCookie= g_u32SessionCookie;
    2145     Req.cbIn            = SUP_IOCTL_RESUME_BUILTIN_KBD_SIZE_IN;
    2146     Req.cbOut           = SUP_IOCTL_RESUME_BUILTIN_KBD_SIZE_OUT;
     2145    Req.cbIn            = SUP_IOCTL_RESUME_SUSPENDED_KBDS_SIZE_IN;
     2146    Req.cbOut           = SUP_IOCTL_RESUME_SUSPENDED_KBDS_SIZE_OUT;
    21472147    Req.fFlags          = SUPREQHDR_FLAGS_DEFAULT;
    21482148    Req.rc              = VERR_INTERNAL_ERROR;
    2149     int rc = suplibOsIOCtl(&g_supLibData, SUP_IOCTL_RESUME_BUILTIN_KBD, &Req, SUP_IOCTL_RESUME_BUILTIN_KBD_SIZE);
     2149    int rc = suplibOsIOCtl(&g_supLibData, SUP_IOCTL_RESUME_SUSPENDED_KBDS, &Req, SUP_IOCTL_RESUME_SUSPENDED_KBDS_SIZE);
    21502150    if (RT_SUCCESS(rc))
    21512151        rc = Req.rc;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette