ControlStadia allows arbitrary mapping of input devices to a "standard" virtual input controller which works with Stadia!
ControlStadia Extension
With ControlStadia, you can:
* Map up to four physical gamepads to a single \"standard\" virtual gamepad which works with Stadia.
* Scale and offset axis to increase or decrease sensitivity, change axis ranges.
* Do normal things like playing GRID with a steering wheel and pedals!
* Do ridiculous things like playing Borderlands 3 with a flight yoke and throttle quadrant!
Usage:
Simply install the extension and open or refresh Stadia! Click the extension icon to configure your virtual joypad.
Once the extension menu is open, it should automatically look for any joysticks plugged into your PC. If none show up, try pressing a button or moving a stick on one.
Once the mapping controls appear, you can now set each button and axis for the virtual gamepad. The \"target gamepad\" at selected at the top is the gamepad which will be scanned for input when you click on a mapping button. If you want to include controls from multiple gamepads, make sure you switch this target option to the correct one BEFORE pressing a mapping button.
The \"Scale\" field will multiply input by the factor specified. For example, setting this to two will cause the joystick to become twice as sensitive, but also lose twice its range of motion, since ControlStadia caps axis values to the range [-1, 1]. You can also use a negative scale to invert the axis.
The \"Offset\" field will add a constant value to the input.
ControlStadia has manifest permissions to run on html5gamepad.com, where you can view the output values of the virtual controller. I highly recommend setting up your virtual controller while on this page!
Scale and offset example:
Say you're trying to map R2 to a controller axis that ranges from [-1, 1]. Because R2 expects a value in the range [0, 1], we must both scale and offset the axis. In this case, the scale would be 0.5 (changing the range to [-0.5, 0.5]) and the offset would be 0.5, (changing the range to [0, 1]).
If you would like to make a suggestion, report an issue found while playing games on Stadia with ControlStadia, or would like to view the list of currently known issues an suggestions, please visit the GitHub issues page here: https://github.com/ihatecsv/ControlStadia/issues
Read more
* Map up to four physical gamepads to a single \"standard\" virtual gamepad which works with Stadia.
* Scale and offset axis to increase or decrease sensitivity, change axis ranges.
* Do normal things like playing GRID with a steering wheel and pedals!
* Do ridiculous things like playing Borderlands 3 with a flight yoke and throttle quadrant!
Usage:
Simply install the extension and open or refresh Stadia! Click the extension icon to configure your virtual joypad.
Once the extension menu is open, it should automatically look for any joysticks plugged into your PC. If none show up, try pressing a button or moving a stick on one.
Once the mapping controls appear, you can now set each button and axis for the virtual gamepad. The \"target gamepad\" at selected at the top is the gamepad which will be scanned for input when you click on a mapping button. If you want to include controls from multiple gamepads, make sure you switch this target option to the correct one BEFORE pressing a mapping button.
The \"Scale\" field will multiply input by the factor specified. For example, setting this to two will cause the joystick to become twice as sensitive, but also lose twice its range of motion, since ControlStadia caps axis values to the range [-1, 1]. You can also use a negative scale to invert the axis.
The \"Offset\" field will add a constant value to the input.
ControlStadia has manifest permissions to run on html5gamepad.com, where you can view the output values of the virtual controller. I highly recommend setting up your virtual controller while on this page!
Scale and offset example:
Say you're trying to map R2 to a controller axis that ranges from [-1, 1]. Because R2 expects a value in the range [0, 1], we must both scale and offset the axis. In this case, the scale would be 0.5 (changing the range to [-0.5, 0.5]) and the offset would be 0.5, (changing the range to [0, 1]).
If you would like to make a suggestion, report an issue found while playing games on Stadia with ControlStadia, or would like to view the list of currently known issues an suggestions, please visit the GitHub issues page here: https://github.com/ihatecsv/ControlStadia/issues
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx",\t"name": "ControlStadia",\t"version": "0.0.2",\t"description": "ControlStadia allows arbitrary mapping of input devices to a \\"standard\\" virtual input controller which works with Stadia!",\t"background": {\t\t"scripts": ["background.js"],\t\t"persistent": false\t},\t"page_action": {\t\t"default_popup": "settings.html",\t\t"default_icon": {\t\t\t"16": "img/cs-16.png",\t\t\t"32": "img/cs-32.png",\t\t\t"48": "img/cs-48.png",\t\t\t"128": "img/cs-128.png"\t\t }\t},\t"content_scripts": [\t\t{\t\t\t"matches": [\t\t\t\t"https://stadia.google.com/*",\t\t\t\t"https://gamepad-tester.com/*"\t\t\t],\t\t\t"js": ["controlstadia.js"],\t\t\t"run_at": "document_start"\t\t}\t],\t"permissions": [\t\t"storage",\t\t"declarativeContent"\t],\t"icons": {\t\t"16": "img/cs-16.png",\t\t"32": "img/cs-32.png",\t\t"48": "img/cs-48.png",\t\t"128": "img/cs-128.png"\t},\t"manifest_version": 2}
Read more