mirror of https://github.com/godotengine/godot
This adds the ability for games to obtain platform-specific information about joypads such as their vendor/product ID, their XInput gamepad index or the real name of the device before it gets swapped out by the gamecontrollerdb's name. This PR also includes a rebased version of #76045, this is because this PR is intended to be mainly to help people implementing Steam Input, as having the gamepad index is essential. |
||
|---|---|---|
| .. | ||
| SCsub | ||
| default_controller_mappings.h | ||
| gamecontrollerdb.txt | ||
| godotcontrollerdb.txt | ||
| input.cpp | ||
| input.h | ||
| input_builders.py | ||
| input_enums.h | ||
| input_event.cpp | ||
| input_event.h | ||
| input_map.cpp | ||
| input_map.h | ||
| shortcut.cpp | ||
| shortcut.h | ||