You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Fix game controllers ignoring the last listed button
(cherry picked from commit 18825ad4ff)
This commit is contained in:
committed by
Rémi Verschelde
parent
f7e9467441
commit
3c55a9c210
@@ -415,6 +415,7 @@ void register_global_constants() {
|
||||
BIND_GLOBAL_ENUM_CONSTANT(JOY_BUTTON_19);
|
||||
BIND_GLOBAL_ENUM_CONSTANT(JOY_BUTTON_20);
|
||||
BIND_GLOBAL_ENUM_CONSTANT(JOY_BUTTON_21);
|
||||
BIND_GLOBAL_ENUM_CONSTANT(JOY_BUTTON_22);
|
||||
BIND_GLOBAL_ENUM_CONSTANT(JOY_BUTTON_MAX);
|
||||
|
||||
BIND_GLOBAL_ENUM_CONSTANT(JOY_SONY_CIRCLE);
|
||||
@@ -448,6 +449,7 @@ void register_global_constants() {
|
||||
BIND_GLOBAL_ENUM_CONSTANT(JOY_DPAD_DOWN);
|
||||
BIND_GLOBAL_ENUM_CONSTANT(JOY_DPAD_LEFT);
|
||||
BIND_GLOBAL_ENUM_CONSTANT(JOY_DPAD_RIGHT);
|
||||
BIND_GLOBAL_ENUM_CONSTANT(JOY_GUIDE);
|
||||
BIND_GLOBAL_ENUM_CONSTANT(JOY_MISC1);
|
||||
BIND_GLOBAL_ENUM_CONSTANT(JOY_PADDLE1);
|
||||
BIND_GLOBAL_ENUM_CONSTANT(JOY_PADDLE2);
|
||||
|
||||
Reference in New Issue
Block a user