diff --git a/input/input_mapper.c b/input/input_mapper.c index a9c5703fec..e7853d5141 100644 --- a/input/input_mapper.c +++ b/input/input_mapper.c @@ -144,7 +144,7 @@ void input_mapper_poll(input_mapper_t *handle) is assigned to any other button than the default one, then it sets the bit on the mapper input bitmap, later on the original input is cleared in input_state */ BIT256_CLEAR_ALL(handle->buttons[i]); - input_get_state_for_port(settings, 0, ¤t_input); + input_get_state_for_port(settings, i, ¤t_input); for (j = 0; j < RARCH_FIRST_CUSTOM_BIND; j++) {