[Bug 279907] Joystick not working with latest SDL
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 22 Jun 2024 13:04:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279907 Bug ID: 279907 Summary: Joystick not working with latest SDL Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: amdmi3@FreeBSD.org Reporter: martymac@FreeBSD.org Flags: maintainer-feedback?(amdmi3@FreeBSD.org) Assignee: amdmi3@FreeBSD.org Created attachment 251619 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=251619&action=edit Joystick handling fix for SDL 2.0 Hello Dmitry, devel/sdl20 recently switched to using CMake. Since that update (commit c14f535a), my XBox One controller is not working anymore with certain apps. Previous update (c807eaa9) recognizes it and makes it work perfectly. Digging into that, I found that file src/joystick/linux/SDL_sysjoystick.c (the one handling input from /dev/input/xxx devices) is not compiled anymore with latest update (while it was in previous version). The attached patch fixes the situation and makes the joystick work again. Cheers, Ganael. -- You are receiving this mail because: You are the assignee for the bug.