Bug#1061182: libsdl2: native gamecube controllers are unsupported because `--enable-hidapi-libusb` is not set
Brian Smith
315kolyc7 at mozmail.com
Sat Jan 20 12:30:16 GMT 2024
Package: libsdl2
Version: 2.28.5+dfsg-3
Severity: wishlist
Tags: newcomer
X-Debbugs-Cc: 315kolyc7 at mozmail.com
Dear Maintainer,
As of https://github.com/libsdl-
org/SDL/commit/c528615626d9f7789a5681a946cb3d5bd5d68c2c, SDL2 supports gamecube
controllers using the Switch/Wii U USB GameCube controller adapter. To use
this, however, one must build SDL using `--enable-hidapi-libusb`.
I was able to get this working on my machine by using apt source, editing the
`confflags` in `rules` to include `--enable-hidapi-libusb`, installing `libusb-
dev` and `libusb-1.0-0-dev`, and building with `dpkg-buildpackage`.
I'd love to hear any thoughts about adding `--enable-hidapi-libusb`.
Thank you so much for your time!
- Brian
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.6.11-amd64 (SMP w/24 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libsdl2-2.0-0 depends on:
ii libasound2 1.2.10-3
ii libc6 2.37-13
ii libdecor-0-0 0.2.2-1
ii libdrm2 2.4.120-1
ii libgbm1 23.3.3-3
ii libpulse0 16.1+dfsg1-3
ii libsamplerate0 0.2.2-4
ii libwayland-client0 1.22.0-2.1
ii libwayland-cursor0 1.22.0-2.1
ii libwayland-egl1 1.22.0-2.1
ii libx11-6 2:1.8.7-1
ii libxcursor1 1:1.2.1-1
ii libxext6 2:1.3.4-1+b1
ii libxfixes3 1:6.0.0-2
ii libxi6 2:1.8-1+b1
ii libxkbcommon0 1.6.0-1
ii libxrandr2 2:1.5.2-2+b1
ii libxss1 1:1.2.3-1
libsdl2-2.0-0 recommends no packages.
Versions of packages libsdl2-2.0-0 suggests:
ii xdg-utils 1.1.3-4.1
-- no debconf information
More information about the Pkg-sdl-maintainers
mailing list