mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
keymaps: define 'x11' and 'linux' on any platform with Wayland
Such as FreeBSD
This commit is contained in:
parent
1520f022c5
commit
f1e516bfaf
@ -44,7 +44,7 @@
|
|||||||
#include "SDL.h"
|
#include "SDL.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __linux__
|
#if defined(__linux__) || defined(HAVE_WAYLAND)
|
||||||
#include <linux/input.h>
|
#include <linux/input.h>
|
||||||
#include <linux/kd.h>
|
#include <linux/kd.h>
|
||||||
#endif
|
#endif
|
||||||
@ -848,7 +848,7 @@ const struct rarch_key_map rarch_key_map_x11[] = {
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __linux__
|
#if defined(__linux__) || defined(HAVE_WAYLAND)
|
||||||
const struct rarch_key_map rarch_key_map_linux[] = {
|
const struct rarch_key_map rarch_key_map_linux[] = {
|
||||||
{ KEY_BACKSPACE, RETROK_BACKSPACE },
|
{ KEY_BACKSPACE, RETROK_BACKSPACE },
|
||||||
{ KEY_TAB, RETROK_TAB },
|
{ KEY_TAB, RETROK_TAB },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user