|
3 | 3 | Controllers, gamepads, and joysticks |
4 | 4 | ==================================== |
5 | 5 |
|
6 | | -Godot supports hundreds of controller models thanks to the community-sourced |
7 | | -`SDL game controller database <https://github.com/gabomdq/SDL_GameControllerDB>`__. |
8 | | - |
| 6 | +Godot supports hundreds of controller models out of the box. |
9 | 7 | Controllers are supported on Windows, macOS, Linux, Android, iOS, and HTML5. |
10 | 8 |
|
11 | 9 | Note that more specialized devices such as steering wheels, rudder pedals and |
@@ -306,9 +304,9 @@ After updating the controller's firmware, unpair the controller and pair it agai |
306 | 304 | with your PC if you are using the controller in wireless mode. |
307 | 305 |
|
308 | 306 | If buttons are incorrectly mapped, this may be due to an erroneous mapping from |
309 | | -the `SDL game controller database <https://github.com/gabomdq/SDL_GameControllerDB>`__. |
310 | | -You can contribute an updated mapping to be included in the next Godot version |
311 | | -by opening a pull request on the linked repository. |
| 307 | +the SDL game controller database used by Godot or the |
| 308 | +`Godot game controller database <https://github.com/godotengine/godot/blob/master/core/input/godotcontrollerdb.txt>`__. |
| 309 | +In this case, you will need to create a custom mapping for your controller. |
312 | 310 |
|
313 | 311 | There are many ways to create mappings. One option is to use the mapping wizard |
314 | 312 | in the `official Joypads demo <https://godotengine.org/asset-library/asset/2785>`__. |
@@ -336,6 +334,10 @@ additional controller mappings, you can add them by calling |
336 | 334 | :ref:`Input.add_joy_mapping() <class_Input_method_add_joy_mapping>` |
337 | 335 | as early as possible in a script's ``_ready()`` function. |
338 | 336 |
|
| 337 | +Once you are satisfied with the custom mapping, you can contribute it for |
| 338 | +the next Godot version by opening a pull request on the |
| 339 | +`Godot game controller database <https://github.com/godotengine/godot/blob/master/core/input/godotcontrollerdb.txt>`__. |
| 340 | + |
339 | 341 | My controller works on a given platform, but not on another platform. |
340 | 342 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
341 | 343 |
|
|
0 commit comments