mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Lakka: Patch to fix keyboard typing
Upstream of patch used by Lakka at build time
1943ad296e/packages/libretro/retroarch/patches/retroarch-01-xkb-fix.patch
This commit is contained in:
parent
efad7a7dcc
commit
6a99832a4d
@ -80,6 +80,13 @@
|
||||
#define UDEV_XKB_HANDLING
|
||||
#endif
|
||||
|
||||
/* Force UDEV_XKB_HANDLING for Lakka */
|
||||
#ifdef HAVE_LAKKA
|
||||
#ifndef UDEV_XKB_HANDLING
|
||||
#define UDEV_XKB_HANDLING
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define UDEV_MAX_KEYS (KEY_MAX + 7) / 8
|
||||
|
||||
typedef struct udev_input udev_input_t;
|
||||
@ -1391,7 +1398,12 @@ static void *udev_input_init(const char *joypad_driver)
|
||||
goto error;
|
||||
|
||||
video_context_driver_get_ident(&ctx_ident);
|
||||
#ifdef HAVE_LAKKA
|
||||
/* Force xkb_handling on Lakka */
|
||||
udev->xkb_handling = true;
|
||||
#else
|
||||
udev->xkb_handling = string_is_equal(ctx_ident.ident, "kms");
|
||||
#endif /* HAVE_LAKKA */
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_EPOLL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user