mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +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"
|
||||
#endif
|
||||
|
||||
#ifdef __linux__
|
||||
#if defined(__linux__) || defined(HAVE_WAYLAND)
|
||||
#include <linux/input.h>
|
||||
#include <linux/kd.h>
|
||||
#endif
|
||||
@ -848,7 +848,7 @@ const struct rarch_key_map rarch_key_map_x11[] = {
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifdef __linux__
|
||||
#if defined(__linux__) || defined(HAVE_WAYLAND)
|
||||
const struct rarch_key_map rarch_key_map_linux[] = {
|
||||
{ KEY_BACKSPACE, RETROK_BACKSPACE },
|
||||
{ KEY_TAB, RETROK_TAB },
|
||||
|
Loading…
x
Reference in New Issue
Block a user