diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ef1d6167f8829af7a4b33ce0a002edac9a150b0..2c4e6585d1a8cd94f6bca4089a1766f170d397fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -72,6 +72,7 @@ All notable changes to this project will be documented in this file. - Bump production nvidia drivers to 460.84 (#1815) - Disable Kodi 19 on rpi1, rpi2 and rpi3 due to compatibility issue (#1815) - Rework bluetooth scripts (#1482) +- Add xpadneo package for handling various xbox wireless controllers (#1609) ## [7.2.2-Reloaded] - Fix controler #2 in swanstation (#1730) diff --git a/Config.in b/Config.in index 4ae00c830cf9f5f7c6aa8a49900c7083e1c1d8c5..c95428b531ccc16a459120c5645984d52275220e 100644 --- a/Config.in +++ b/Config.in @@ -59,7 +59,9 @@ menu "Controllers" source "$BR2_EXTERNAL_RECALBOX_PATH/package/steamcontroller/Config.in" source "$BR2_EXTERNAL_RECALBOX_PATH/package/virtualgamepads/Config.in" source "$BR2_EXTERNAL_RECALBOX_PATH/package/xarcade2jstick/Config.in" + comment "Microsoft Xbox controller support" source "$BR2_EXTERNAL_RECALBOX_PATH/package/xboxdrv/Config.in" + source "$BR2_EXTERNAL_RECALBOX_PATH/package/xpadneo/Config.in" comment "Nintendo switch Joycons support" source "$BR2_EXTERNAL_RECALBOX_PATH/package/joycond/Config.in" source "$BR2_EXTERNAL_RECALBOX_PATH/package/hid-nintendo/Config.in" diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 7c2ac5427f6f3a4ca5b385f1f46feeb13bc7b2b0..6670fa388a5fbc62a51b80932f14c9a612d3de72 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -16,6 +16,7 @@ as release notes for end user on a Recalbox upgrade. - Add LowRes NX virtual console on all boards - Add CHD support for Mega CD Games with Picodrive core - Add Saturn on Raspberry pi4 (libretro core: Yabasanshiro) +- Better support for Xbox joysticks like Xbox One S Wireless controller, Xbox Elite Series 2 Wireless controller and Xbox Series X|S Wireless controller ### Improvements - Bump Retroarch to v1.9.3 diff --git a/TESTING.md b/TESTING.md index 6eefdde5beb8f24fc942c1c748eea0b82bf2f9a3..86dd9d6214384cb42abbffb4e91d2c6fdc3286bb 100644 --- a/TESTING.md +++ b/TESTING.md @@ -66,6 +66,10 @@ Pour les pending features, elles ne seront activées que si les beta testeurs le - [ ] Test manual refresh - [ ] Once the netplay is on, newly added romw should be hashed automatically in the next reboot - [ ] When setting Netplay on, ES should check if some roms need to be hashed: Set netplay off, then add roms, then refresh lists, then set netplay on +- [ ] Test xpadneo package (#1609) + - [ ] Test Xbox One S Wireless controller + - [ ] Test Xbox Elite Series 2 Wireless controller + - [ ] Test Xbox Series X|S Wireless controller ## [7.2.2] - [X] Test ppsspp saves are copied in share on upgrade (#1773) diff --git a/configs/recalbox-odroidxu4_defconfig b/configs/recalbox-odroidxu4_defconfig index 6428c97a6cfd2eeb2a35b226f094d9068bb3f62a..0d6d8adcf6fae88e28408a7f71647c672dd941c0 100644 --- a/configs/recalbox-odroidxu4_defconfig +++ b/configs/recalbox-odroidxu4_defconfig @@ -346,3 +346,4 @@ BR2_PACKAGE_JOYCOND=y BR2_PACKAGE_FLUIDSYNTH_PULSEAUDIO=y BR2_PACKAGE_KODI_PULSEAUDIO=y BR2_PACKAGE_PAMIX=y +BR2_PACKAGE_XPADNEO=y diff --git a/configs/recalbox-rpi1_defconfig b/configs/recalbox-rpi1_defconfig index 38a2d2ccc36303d2d25d69484c3e3376db1422d9..e397eb3e311fe785c078b58ba36128a40023cf82 100644 --- a/configs/recalbox-rpi1_defconfig +++ b/configs/recalbox-rpi1_defconfig @@ -328,3 +328,4 @@ BR2_PACKAGE_JOYCOND=y BR2_PACKAGE_FLUIDSYNTH_PULSEAUDIO=y BR2_PACKAGE_KODI_PULSEAUDIO=y BR2_PACKAGE_PAMIX=y +BR2_PACKAGE_XPADNEO=y diff --git a/configs/recalbox-rpi2_defconfig b/configs/recalbox-rpi2_defconfig index 5750dcc83313d638642d644dea979327e59cce29..b35c6e5af61fdfd1272643d67ebef58fa1bf231d 100644 --- a/configs/recalbox-rpi2_defconfig +++ b/configs/recalbox-rpi2_defconfig @@ -354,3 +354,4 @@ BR2_PACKAGE_JOYCOND=y BR2_PACKAGE_FLUIDSYNTH_PULSEAUDIO=y BR2_PACKAGE_KODI_PULSEAUDIO=y BR2_PACKAGE_PAMIX=y +BR2_PACKAGE_XPADNEO=y diff --git a/configs/recalbox-rpi3_defconfig b/configs/recalbox-rpi3_defconfig index db2b5922297af25451dad3c505b4c32ad0b44539..a5cadee55592b4e2ca9755b0921809fab99cdedd 100644 --- a/configs/recalbox-rpi3_defconfig +++ b/configs/recalbox-rpi3_defconfig @@ -355,3 +355,4 @@ BR2_PACKAGE_JOYCOND=y BR2_PACKAGE_FLUIDSYNTH_PULSEAUDIO=y BR2_PACKAGE_KODI_PULSEAUDIO=y BR2_PACKAGE_PAMIX=y +BR2_PACKAGE_XPADNEO=y diff --git a/configs/recalbox-rpi4_defconfig b/configs/recalbox-rpi4_defconfig index f03822cf581efc3b07e7fc75be4f4b3c40525500..20ac13e9f4153b7d2c469ada9bd6c3117b19d0ad 100644 --- a/configs/recalbox-rpi4_defconfig +++ b/configs/recalbox-rpi4_defconfig @@ -344,3 +344,4 @@ BR2_PACKAGE_JOYCOND=y BR2_PACKAGE_FLUIDSYNTH_PULSEAUDIO=y BR2_PACKAGE_KODI_PULSEAUDIO=y BR2_PACKAGE_PAMIX=y +BR2_PACKAGE_XPADNEO=y diff --git a/configs/recalbox-x86_64_defconfig b/configs/recalbox-x86_64_defconfig index a4595f78e393a4e735d84ee68368a8f736a9bd12..ba02fa2ca9d933a2eba9d84eaccd649c0b487060 100644 --- a/configs/recalbox-x86_64_defconfig +++ b/configs/recalbox-x86_64_defconfig @@ -430,3 +430,4 @@ BR2_PACKAGE_JOYCOND=y BR2_PACKAGE_FLUIDSYNTH_PULSEAUDIO=y BR2_PACKAGE_KODI_PULSEAUDIO=y BR2_PACKAGE_PAMIX=y +BR2_PACKAGE_XPADNEO=y diff --git a/configs/recalbox-x86_defconfig b/configs/recalbox-x86_defconfig index 7986d6354e03d391cb764baa62a63aa23c28821e..40b7b02399a4a681454925bbb4c1572f94076ddd 100644 --- a/configs/recalbox-x86_defconfig +++ b/configs/recalbox-x86_defconfig @@ -415,3 +415,4 @@ BR2_PACKAGE_JOYCOND=y BR2_PACKAGE_FLUIDSYNTH_PULSEAUDIO=y BR2_PACKAGE_KODI_PULSEAUDIO=y BR2_PACKAGE_PAMIX=y +BR2_PACKAGE_XPADNEO=y diff --git a/package/xpadneo/Config.in b/package/xpadneo/Config.in new file mode 100644 index 0000000000000000000000000000000000000000..3bbaf2cfab84f4af840df32bb2b619bf3bc0c1b5 --- /dev/null +++ b/package/xpadneo/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_XPADNEO + bool "Xbox One controller support" + depends on BR2_PACKAGE_HAS_UDEV + select BR2_PACKAGE_LIBEVDEV + help + Xbox One controller support + https://atar-axis.github.io/xpadneo/ diff --git a/package/xpadneo/xpadneo.mk b/package/xpadneo/xpadneo.mk new file mode 100644 index 0000000000000000000000000000000000000000..5c5e932a69c83e5479c890b4a7624977b39823a9 --- /dev/null +++ b/package/xpadneo/xpadneo.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# XPADNEO +# +################################################################################ + +XPADNEO_VERSION = v0.9.1 +XPADNEO_SITE = https://github.com/atar-axis/xpadneo +XPADNEO_SITE_METHOD = git +XPADNEO_LICENSE = GPL-3.0 +XPADNEO_MODULE_SUBDIRS = hid-xpadneo/src + +define XPADNEO_COPY_CMDS + $(INSTALL) -D -m 0644 -t $(TARGET_DIR)/etc/modprobe.d $(@D)/hid-xpadneo/etc-modprobe.d/xpadneo.conf + $(INSTALL) -D -m 0644 -t $(TARGET_DIR)/etc/udev/rules.d $(@D)/hid-xpadneo/etc-udev-rules.d/60-xpadneo.rules +endef + +XPADNEO_INSTALL_TARGET_CMDS += $(XPADNEO_COPY_CMDS) + +$(eval $(kernel-module)) +$(eval $(generic-package))