Skip to content

Commit

Permalink
Small adjustment to coordinating mouse inputs (#17622)
Browse files Browse the repository at this point in the history
  • Loading branch information
warmenhoven authored Feb 23, 2025
1 parent 4de3420 commit 84eb4f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion input/input_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -1791,6 +1791,9 @@ static int16_t input_state_device(
input_st->overlay_ptr, port, device, idx, id);
#endif

if (res && input_st->flags & INP_FLAG_BLOCK_POINTER_INPUT)
break;

if (id < RARCH_FIRST_META_KEY)
{
bool bind_valid = input_st->libretro_input_binds[port]
Expand All @@ -1804,7 +1807,7 @@ static int16_t input_state_device(
res |= (1 << id);
}
else
res += ret;
res = ret;
}
}

Expand Down

0 comments on commit 84eb4f3

Please sign in to comment.