Merge pull request #11709 from sonninnos/key-remap-fix

Keyboard remapping fix pt2
This commit is contained in:
Autechre 2020-12-17 00:49:39 +01:00 committed by GitHub
commit b3282882d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21835,7 +21835,7 @@ static void input_driver_poll(void)
settings->uints.input_keymapper_ids[i][j];
bool remap_valid =
remap_button != RETROK_UNKNOWN &&
!handle->keys[remap_button / 32];
!MAPPER_GET_KEY(handle, remap_button);
if (!remap_valid)
continue;