Merge pull request #7008 from yoshisuga/issue-6751

issue 6751: read input of overlay for remapped keyboard keys
This commit is contained in:
Twinaphex 2018-07-23 04:32:21 +02:00 committed by GitHub
commit e5741eb9b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,