• Kevin Qin's avatar
    Add OpenXR Gamepad Support · 18c94525
    Kevin Qin authored
    To try out this code with the Microsoft OpenXR Runtime in Chromium, perform the
    following steps.
        - Install 'Mixed Reality OpenXR Developer Preview' from the Microsoft Store
        - If prompted also download the compatibility pack
    
    Add the following to custom_vars in .gclient, located at the root of the
    chromium clone:
        "checkout_openxr": True
    Add the following to args.gn, located in the out folder:
        enable_openxr = true
    
    gclient sync and build
    
    Once you've built and installed Chromium go to about:flags and:
        - Enable WebVR or WebXR
        - Enable 'OpenXR Support'
    
    Bug: 976432
    Change-Id: Ie4aa927afc7389c0a88e818889bfbcee75e4feea
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1693842Reviewed-by: default avatarBrandon Jones <bajones@chromium.org>
    Reviewed-by: default avatarAlexander Cooper <alcooper@chromium.org>
    Commit-Queue: Zheng Qin <zheqi@microsoft.com>
    Cr-Commit-Position: refs/heads/master@{#683282}
    18c94525
gamepad_pad_state_provider.h 3.74 KB