Merge pull request #53251 from LATRio/53224

This commit is contained in:
Rémi Verschelde 2021-09-30 13:42:45 +02:00 committed by GitHub
commit bc0f5d3dde
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -864,6 +864,8 @@ void InputEventMouseMotion::_bind_methods() {
///////////////////////////////////
void InputEventJoypadMotion::set_axis(JoyAxis p_axis) {
ERR_FAIL_INDEX(p_axis, JOY_AXIS_MAX);
axis = p_axis;
emit_changed();
}