Skip to content

Commit

Permalink
issue 6751: read input of overlay for remapped keyboard keys
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshisuga committed Jul 22, 2018
1 parent c2d3727 commit 0a71056
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion input/input_mapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,10 @@ void input_mapper_poll(input_mapper_t *handle)
if (remap_valid)
{
unsigned current_button_value = BIT256_GET(current_input, j);

#ifdef HAVE_OVERLAY
if (poll_overlay && i == 0)
current_button_value |= input_overlay_key_pressed(overlay_ptr, j);
#endif
if ((current_button_value == 1) && (j != remap_button))
{
MAPPER_SET_KEY (handle,
Expand Down

0 comments on commit 0a71056

Please sign in to comment.