mirror of
https://github.com/libretro/RetroArch
synced 2025-01-01 12:11:47 +00:00
(Dinput) Fix Mouse L button behavior
This commit is contained in:
parent
92a2c0f71a
commit
8a0491b282
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user