Qt: fix pressure intensity deadzone enabled state

This commit is contained in:
Megamouse 2023-08-29 20:46:09 +02:00
parent 565a208f20
commit 7144e92ce2
5 changed files with 11 additions and 12 deletions

View file

@ -1062,7 +1062,7 @@ void keyboard_pad_handler::process()
{
if (update_sticks)
{
for (int j = 0; j < static_cast<int>(pad.m_sticks.size()); j++)
for (usz j = 0; j < pad.m_sticks.size(); j++)
{
const f32 stick_lerp_factor = (j < 2) ? m_l_stick_lerp_factor : m_r_stick_lerp_factor;