summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorhondres <liu.gam3@gmail.com>2016-02-10 22:58:32 +0100
committerhondres <liu.gam3@gmail.com>2016-02-10 23:37:25 +0100
commit6de2b9d8649d81180d7da733237370afd08657fa (patch)
treec0a52cd332e411c1c88bdd442ff6658460546bbc /core
parentb6b33e8886c4e1515164925dddf55d9ee687456f (diff)
doc: use correct identifier for InputEventJoystick{Motion, Button}
Diffstat (limited to 'core')
-rw-r--r--core/os/input_event.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/os/input_event.cpp b/core/os/input_event.cpp
index 2f39567a7e..3022a56e2a 100644
--- a/core/os/input_event.cpp
+++ b/core/os/input_event.cpp
@@ -107,13 +107,13 @@ InputEvent::operator String() const {
} break;
case JOYSTICK_MOTION: {
- str+= "Event: JoyMotion ";
+ str+= "Event: JoystickMotion ";
str=str+"Axis: "+itos(joy_motion.axis)+" Value: " +rtos(joy_motion.axis_value);
return str;
} break;
case JOYSTICK_BUTTON: {
- str+= "Event: JoyButton ";
+ str+= "Event: JoystickButton ";
str=str+"Pressed: "+itos(joy_button.pressed)+" Index: " +itos(joy_button.button_index)+" pressure "+rtos(joy_button.pressure);
return str;