mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
input: increase mouse acceleration maximum
This commit is contained in:
parent
af11546b1e
commit
d8435163bb
2 changed files with 4 additions and 4 deletions
|
@ -68,8 +68,8 @@ struct cfg_pad final : cfg::node
|
|||
|
||||
cfg::uint<0, 255> mouse_deadzone_x{ this, "Mouse Deadzone X Axis", 60 };
|
||||
cfg::uint<0, 255> mouse_deadzone_y{ this, "Mouse Deadzone Y Axis", 60 };
|
||||
cfg::uint<0, 3000> mouse_acceleration_x{ this, "Mouse Acceleration X Axis", 200 };
|
||||
cfg::uint<0, 3000> mouse_acceleration_y{ this, "Mouse Acceleration Y Axis", 250 };
|
||||
cfg::uint<0, 999999> mouse_acceleration_x{ this, "Mouse Acceleration X Axis", 200 };
|
||||
cfg::uint<0, 999999> mouse_acceleration_y{ this, "Mouse Acceleration Y Axis", 250 };
|
||||
|
||||
cfg::uint<0, 100> l_stick_lerp_factor{ this, "Left Stick Lerp Factor", 100 };
|
||||
cfg::uint<0, 100> r_stick_lerp_factor{ this, "Right Stick Lerp Factor", 100 };
|
||||
|
|
|
@ -420,8 +420,8 @@ void keyboard_pad_handler::mouseMoveEvent(QMouseEvent* event)
|
|||
last_pos_y = event->y();
|
||||
}
|
||||
|
||||
movement_x = m_multi_x * movement_x;
|
||||
movement_y = m_multi_y * movement_y;
|
||||
movement_x *= m_multi_x;
|
||||
movement_y *= m_multi_y;
|
||||
|
||||
int deadzone_x = 0;
|
||||
int deadzone_y = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue