Created
May 23, 2020 11:41
-
-
Save DRFR0ST/b4be3ba15384c38ccf7cb5eb1a2ade18 to your computer and use it in GitHub Desktop.
🕹️ Enable controller for Stadia on mobile devices. (In chrome browser)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:gg = navigator.getGamepads; navigator.getGamepads = function(){ g = gg.apply(navigator); if (g[0] !== null) { g0 = {}; for(var property in g[0]){g0[property] = g[0][property]}; g0.mapping="standard"; return [g0, null, null, null]}; return g; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment