mirror of
https://github.com/libretro/RetroArch
synced 2025-03-12 22:14:30 +00:00
Dinput: Mouse pointer send proper return value instead of flag value (#17067)
This commit is contained in:
parent
3019b926c2
commit
5e2409471a
@ -807,7 +807,7 @@ static int16_t dinput_input_state(
|
||||
case RETRO_DEVICE_ID_POINTER_Y:
|
||||
return res_y;
|
||||
case RETRO_DEVICE_ID_POINTER_PRESSED:
|
||||
return check_pos ? 1 : (di->flags & DINP_FLAG_MOUSE_L_BTN);
|
||||
return check_pos ? 1 : (di->flags & DINP_FLAG_MOUSE_L_BTN) > 0;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user