mirror of https://github.com/godotengine/godot
`InputMap::ALL_DEVICES` and `InputEvent::DEVICE_ID_EMULATION` have the same value `-1`. Change value of `InputMap::All_DEVICES` so that it's different from `InputEvent::DEVICE_ID_EMULATION`. `InputEvent::DEVICE_ID_EMULATION` is part of the API and can't be changed without potentially breaking projects. Gather all special device constants in a single location inside `InputEvent`. Add a converter to project settings, that takes care of adjusting project files during loading. |
||
|---|---|---|
| .. | ||
| SCsub | ||
| default_controller_mappings.h | ||
| gamecontrollerdb.txt | ||
| godotcontrollerdb.txt | ||
| input.compat.inc | ||
| 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 | ||