1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-05 17:15:09 +00:00

Add support for new SDL gamecontroller keywords.

This commit is contained in:
Marcel Admiraal
2021-02-07 16:12:51 +00:00
parent 9fb27eba8d
commit 3dd57a22df
6 changed files with 72 additions and 6 deletions

View File

@@ -448,6 +448,12 @@ void register_global_constants() {
BIND_GLOBAL_ENUM_CONSTANT(JOY_R);
BIND_GLOBAL_ENUM_CONSTANT(JOY_R2);
BIND_GLOBAL_ENUM_CONSTANT(JOY_R3);
BIND_GLOBAL_ENUM_CONSTANT(JOY_MISC1);
BIND_GLOBAL_ENUM_CONSTANT(JOY_PADDLE1);
BIND_GLOBAL_ENUM_CONSTANT(JOY_PADDLE2);
BIND_GLOBAL_ENUM_CONSTANT(JOY_PADDLE3);
BIND_GLOBAL_ENUM_CONSTANT(JOY_PADDLE4);
BIND_GLOBAL_ENUM_CONSTANT(JOY_TOUCHPAD);
BIND_GLOBAL_ENUM_CONSTANT(JOY_AXIS_0);
BIND_GLOBAL_ENUM_CONSTANT(JOY_AXIS_1);