mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
916d480686
`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. |
||
---|---|---|
.. | ||
config | ||
crypto | ||
debugger | ||
error | ||
extension | ||
input | ||
io | ||
math | ||
object | ||
os | ||
string | ||
templates | ||
variant | ||
core_bind.compat.inc | ||
core_bind.cpp | ||
core_bind.h | ||
core_builders.py | ||
core_constants.cpp | ||
core_constants.h | ||
core_globals.cpp | ||
core_globals.h | ||
core_string_names.cpp | ||
core_string_names.h | ||
doc_data.cpp | ||
doc_data.h | ||
register_core_types.cpp | ||
register_core_types.h | ||
SCsub | ||
typedefs.h | ||
version.h |