From 2d5715b8070c8c635ccd1f336a77455ffd548060 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Tue, 5 Mar 2019 11:55:05 +0100 Subject: [PATCH] wayland: fix keyboard handling. This bug interferes with my BK-0010 libretro port. --- gfx/drivers_context/wayland_ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers_context/wayland_ctx.c b/gfx/drivers_context/wayland_ctx.c index 291c32e0f9..7989ac77bb 100644 --- a/gfx/drivers_context/wayland_ctx.c +++ b/gfx/drivers_context/wayland_ctx.c @@ -231,7 +231,7 @@ static void keyboard_handle_key(void *data, return; #endif input_keyboard_event(value, - rarch_keysym_lut[key], + input_keymaps_translate_keysym_to_rk(key), 0, 0, RETRO_DEVICE_KEYBOARD); }