Lines 50-56
Link Here
|
50 |
#include "SDL.h" |
50 |
#include "SDL.h" |
51 |
#endif |
51 |
#endif |
52 |
|
52 |
|
53 |
#if defined(__linux__) || defined(HAVE_WAYLAND) |
53 |
#if defined(__linux__) || defined(HAVE_WAYLAND) || defined(HAVE_UDEV) |
54 |
#if defined(__linux__) |
54 |
#if defined(__linux__) |
55 |
#include <linux/input.h> |
55 |
#include <linux/input.h> |
56 |
#include <linux/kd.h> |
56 |
#include <linux/kd.h> |
Lines 986-992
const struct rarch_key_map rarch_key_map_x11[] = {
Link Here
|
986 |
}; |
986 |
}; |
987 |
#endif |
987 |
#endif |
988 |
|
988 |
|
989 |
#if defined(__linux__) || defined(HAVE_WAYLAND) |
989 |
#if defined(__linux__) || defined(HAVE_WAYLAND) || defined(HAVE_UDEV) |
990 |
/* Note: Only one input can be mapped to each |
990 |
/* Note: Only one input can be mapped to each |
991 |
* RETROK_* key. If several physical inputs |
991 |
* RETROK_* key. If several physical inputs |
992 |
* correspond to the same key, these inputs |
992 |
* correspond to the same key, these inputs |