mirror of
https://github.com/godotengine/godot.git
synced 2025-01-18 20:40:57 +08:00
Increase joystick axis from 8 to 10
This commit is contained in:
parent
ec77cccb1d
commit
2a230d571d
@ -435,6 +435,8 @@ void register_global_constants() {
|
||||
BIND_GLOBAL_ENUM_CONSTANT(JOY_AXIS_5);
|
||||
BIND_GLOBAL_ENUM_CONSTANT(JOY_AXIS_6);
|
||||
BIND_GLOBAL_ENUM_CONSTANT(JOY_AXIS_7);
|
||||
BIND_GLOBAL_ENUM_CONSTANT(JOY_AXIS_8);
|
||||
BIND_GLOBAL_ENUM_CONSTANT(JOY_AXIS_9);
|
||||
BIND_GLOBAL_ENUM_CONSTANT(JOY_AXIS_MAX);
|
||||
|
||||
BIND_GLOBAL_ENUM_CONSTANT(JOY_ANALOG_LX);
|
||||
|
@ -122,7 +122,9 @@ enum JoystickList {
|
||||
JOY_AXIS_5 = 5,
|
||||
JOY_AXIS_6 = 6,
|
||||
JOY_AXIS_7 = 7,
|
||||
JOY_AXIS_MAX = 8,
|
||||
JOY_AXIS_8 = 8,
|
||||
JOY_AXIS_9 = 9,
|
||||
JOY_AXIS_MAX = 10,
|
||||
|
||||
JOY_ANALOG_LX = JOY_AXIS_0,
|
||||
JOY_ANALOG_LY = JOY_AXIS_1,
|
||||
|
Loading…
Reference in New Issue
Block a user