games-util/xpadneo: add BT_LE and UHID to CONFIG_CHECK

Not exhaustive for everything that is or may be needed (e.g. not
bothering to check for basic bluetooth+input support) but I recently
replaced my original Xbox One controller due to its buttons going bad
after years of abuse and got a recent X|S one instead. Thought it was
going to be simple but...
1) had BT_LE (bluetooth low energy) disabled given I never needed it,
   but these newer ones can only work with it
2) after enabling, still failed to connect with Authentification
   errors, turned out had to update the controller's firmware for this
   to work (which needs either Windows or a Xbox One X|S, I used
   a old Windows 10 VM with USB passthrough I had laying around)
3) finally connected, but nothing happened.. reading xpadneo's
   documentation, I found out that when using LE also need UHID
   for bluez to register the controller which I also had disabled
4) in documentation, also read that this specific setup is affected
   by input delays because the controller does not report the right
   settings it needs over bluetooth, this can be corrected by manually
   setting up bluez (unsure if I needed it but thought may as well)

...and now it works perfectly. Figured it wouldn't hurt to have the
ebuild at least mention 1+3 given many users are likely to be using
X|S at this point. For 2+4, I'll leave this to xpadneo's docs, can't
realistically cover everything. For 2, hopefully future controllers
will ship with updated firmwares so may not be a concern forever.
For 4, maybe(?) workarounds will be added to bluez eventually.

Messages may possibly be annoying for non-LE users though, but they
can be safely ignored.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2026-11-11 19:46:03 -05:00
parent 71f0a00f1c
commit cd0a3bfda5
2 changed files with 16 additions and 1 deletions
+8 -1
View File
@@ -20,7 +20,14 @@ HOMEPAGE="https://atar-axis.github.io/xpadneo/"
LICENSE="GPL-2 GPL-3+"
SLOT="0"
CONFIG_CHECK="INPUT_FF_MEMLESS"
CONFIG_CHECK="
INPUT_FF_MEMLESS
~BT_LE
~UHID
"
ERROR_BT_LE="CONFIG_BT_LE: is not set, not needed for the original Xbox One
controller but note that newer ones are likely to require it"
ERROR_UHID="CONFIG_UHID:${ERROR_BT_LE#*:}"
src_compile() {
local modlist=( hid-${PN}=kernel/drivers/hid:hid-${PN}:hid-${PN}/src )
+8
View File
@@ -20,6 +20,14 @@ HOMEPAGE="https://atar-axis.github.io/xpadneo/"
LICENSE="GPL-2 GPL-3+"
SLOT="0"
CONFIG_CHECK="
~BT_LE
~UHID
"
ERROR_BT_LE="CONFIG_BT_LE: is not set, not needed for the original Xbox One
controller but note that newer ones are likely to require it"
ERROR_UHID="CONFIG_UHID:${ERROR_BT_LE#*:}"
src_compile() {
local modlist=( hid-${PN}=kernel/drivers/hid:hid-${PN}:hid-${PN}/src )
local modargs=( KERNEL_SOURCE_DIR="${KV_OUT_DIR}" )