Skip to content

Commit

Permalink
games/retroarch: Incorporate changes from a pull request
Browse files Browse the repository at this point in the history
Incorporate changes from a pull request for improved traceability and
documentation.

See libretro/RetroArch#16221

This is a NOP change and does not warrant a PORTREVISION bump.
  • Loading branch information
ehaupt committed Feb 18, 2024
1 parent a504d91 commit cb9b4d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions games/retroarch/files/patch-input_input__keymaps.c
Expand Up @@ -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>
Expand All @@ -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

0 comments on commit cb9b4d0

Please sign in to comment.