(Dinput) Fix Mouse L button behavior

This commit is contained in:
LibretroAdmin 2022-10-26 19:25:38 +02:00
parent 92a2c0f71a
commit 8a0491b282

View File

@ -348,7 +348,9 @@ static void dinput_poll(void *data)
else
{
if (mouse_state.rgbButtons[0])
di->flags |= DINP_FLAG_MOUSE_L_BTN;
di->flags |= DINP_FLAG_MOUSE_L_BTN;
else
di->flags &= ~DINP_FLAG_MOUSE_L_BTN;
}
if (mouse_state.rgbButtons[1])
di->flags |= DINP_FLAG_MOUSE_R_BTN;