mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +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
|
#define UDEV_XKB_HANDLING
|
||||||
#endif
|
#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
|
#define UDEV_MAX_KEYS (KEY_MAX + 7) / 8
|
||||||
|
|
||||||
typedef struct udev_input udev_input_t;
|
typedef struct udev_input udev_input_t;
|
||||||
@ -1391,7 +1398,12 @@ static void *udev_input_init(const char *joypad_driver)
|
|||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
video_context_driver_get_ident(&ctx_ident);
|
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");
|
udev->xkb_handling = string_is_equal(ctx_ident.ident, "kms");
|
||||||
|
#endif /* HAVE_LAKKA */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_EPOLL)
|
#if defined(HAVE_EPOLL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user