Stephen Todd
Stephen Todd

Reputation: 375

Setting enable-gamepad-extensions from Chrome command line

I cannot set --enable-gamepad-extensions from the Chrome command line (WebVR experimental build Version 56.0.2902.0 (64-bit))

Setting --enable-webvr on the command line works fine, and setting enable-gamepad-extensions from chrome://flags also works fine.

I'm guessing it may be because enable-gamepad-extensions is a three way setting (default/enabled/disabled) rather than just a two way one. I see that the corresponding entries in the Local State file is

"enabled_labs_experiments":["enable-gamepad-extensions@1","enable-webvr"]

and have tried various experiments based on this, but haven't found a way that works.

Upvotes: 1

Views: 1816

Answers (1)

woxxom
woxxom

Reputation: 73526

The flag was added in about_flags.cc, not in command line chrome_switches.cc. It was also added in content_features.cc as 2-state (enabled/disabled) so you can force it with --enable-features:

chrome.exe --enable-features=GamepadExtensions

Upvotes: 2

Related Questions