Date: Thu, 20 May 2021 01:21:09 GMT From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: e68388943479 - main - emulators/yuzu: limit sdl < 2.0.15 workaround to PS5 rumble Message-ID: <202105200121.14K1L9Zp019643@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=e68388943479a40b76501705b136467b74b64cec commit e68388943479a40b76501705b136467b74b64cec Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2021-05-20 01:02:14 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2021-05-20 01:18:12 +0000 emulators/yuzu: limit sdl < 2.0.15 workaround to PS5 rumble - devel/sdl20 currently disables HIDAPI by default - rumble hint is only necessary for bluetooth --- emulators/yuzu/files/patch-sdl2 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/emulators/yuzu/files/patch-sdl2 b/emulators/yuzu/files/patch-sdl2 index 352e22153016..a540dc413999 100644 --- a/emulators/yuzu/files/patch-sdl2 +++ b/emulators/yuzu/files/patch-sdl2 @@ -22,12 +22,11 @@ CMake Error at externals/CMakeLists.txt:54 (add_subdirectory): if (SDL2_FOUND) --- src/input_common/sdl/sdl_impl.cpp.orig 2021-05-19 22:47:48 UTC +++ src/input_common/sdl/sdl_impl.cpp -@@ -796,8 +796,10 @@ SDLState::SDLState() { - RegisterFactory<MotionDevice>("sdl", motion_factory); +@@ -797,7 +797,9 @@ SDLState::SDLState() { // Enable HIDAPI rumble. This prevents SDL from disabling motion on PS4 and PS5 controllers -+#ifdef SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE, "1"); ++#ifdef SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE, "1"); +#endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105200121.14K1L9Zp019643>