1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

games/retroarch: Incorporate changes from a pull request

Incorporate changes from a pull request for improved traceability and
documentation.

See https://github.com/libretro/RetroArch/pull/16221

This is a NOP change and does not warrant a PORTREVISION bump.
This commit is contained in:
Emanuel Haupt 2024-02-18 09:46:52 +01:00
parent a504d910ed
commit cb9b4d0964

View File

@ -5,7 +5,7 @@
#endif
-#if defined(__linux__) || defined(HAVE_WAYLAND)
+#if defined(__linux__) || defined(HAVE_WAYLAND) || defined(__FreeBSD__)
+#if defined(__linux__) || defined(HAVE_WAYLAND) || defined(__FreeBSD__) && !defined(__PS4__)
#if defined(__linux__)
#include <linux/input.h>
#include <linux/kd.h>
@ -14,7 +14,7 @@
#endif
-#if defined(__linux__) || defined(HAVE_WAYLAND)
+#if defined(__linux__) || defined(HAVE_WAYLAND) || defined(__FreeBSD__)
+#if defined(__linux__) || defined(HAVE_WAYLAND) || defined(__FreeBSD__) && !defined(__PS4__)
/* Note: Only one input can be mapped to each
* RETROK_* key. If several physical inputs
* correspond to the same key, these inputs