• Matt Reynolds's avatar
    Ack Xbox One reports for the Xbox button on Mac · 16c0e6d7
    Matt Reynolds authored
    Xbox One gamepads send the state of the Xbox button in a separate
    report from the rest of the button and axis state. On some devices,
    this report will be sent repeatedly until it is acked, and further
    presses and releases of the button are not reported. This causes the
    button to appear "stuck" when observed from within Chrome.
    
    This CL makes Chrome ack the Xbox report when it is received,
    preventing the button from becoming stuck. This fix only affects OSX,
    where Chrome uses an internal driver for Xbox devices.
    
    BUG=846806
    
    Change-Id: I8e44a78c56b146dcf20c530cbc397451fce9e84c
    Reviewed-on: https://chromium-review.googlesource.com/1086409
    Commit-Queue: Matt Reynolds <mattreynolds@chromium.org>
    Reviewed-by: default avatarBrandon Jones <bajones@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#565141}
    16c0e6d7
xbox_controller_mac.h 6.27 KB