From 035d410a8967e9b7d9ec38f7ef6a3b7f415a2fec Mon Sep 17 00:00:00 2001 From: Megamouse Date: Mon, 17 Oct 2022 23:48:00 +0200 Subject: [PATCH] evdev: change default axis for gyro --- rpcs3/Input/evdev_joystick_handler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Input/evdev_joystick_handler.cpp b/rpcs3/Input/evdev_joystick_handler.cpp index 5c10db5e9f..ca55df2bbf 100644 --- a/rpcs3/Input/evdev_joystick_handler.cpp +++ b/rpcs3/Input/evdev_joystick_handler.cpp @@ -82,7 +82,7 @@ void evdev_joystick_handler::init_config(cfg_pad* cfg) cfg->motion_sensor_x.axis.def = ::at32(motion_axis_list, ABS_X); cfg->motion_sensor_y.axis.def = ::at32(motion_axis_list, ABS_Y); cfg->motion_sensor_z.axis.def = ::at32(motion_axis_list, ABS_Z); - cfg->motion_sensor_g.axis.def = ::at32(motion_axis_list, ABS_RX); + cfg->motion_sensor_g.axis.def = ::at32(motion_axis_list, ABS_RY); // DS3 uses the yaw axis for gyros cfg->pressure_intensity_button.def = ::at32(button_list, NO_BUTTON);