Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2024 13:04:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 279907] Joystick not working with latest SDL
Message-ID:  <bug-279907-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279907

            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=3D251619&action=
=3Dedit
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279907-7788>