Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linuxPackages.xpadneo: 0.8.4 -> 0.9 #104620

Closed

Conversation

kira-bruneau
Copy link
Contributor

Motivation for this change

Upgrade to the latest release: https://github.com/atar-axis/xpadneo/releases/tag/v0.9

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)

  • Built on platform(s)

    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)

  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"

  • Tested execution of all binary files (usually in ./result/bin/)
    No binary files. Enabled with hardware.xpadneo.enable = true & tested through use of Xbox One controller.

    Tested:

    • Bluetooth connectivity
    • All buttons
    • Rumble support

    > modinfo hid_xpadneo
    filename:       /run/current-system/kernel-modules/lib/modules/5.9.8/extra/hid-xpadneo.ko.xz
    version:        0.9
    description:    Linux kernel driver for Xbox ONE S+ gamepads (BT), incl. FF
    author:         Florian Dollinger <dollinger.florian@gmx.de>
    license:        GPL
    srcversion:     92CA97B6556AAA2B6867C29
    alias:          hid:b0005g*v0000045Ep00000B13
    alias:          hid:b0005g*v0000045Ep00000B05
    alias:          hid:b0005g*v0000045Ep000002E0
    alias:          hid:b0005g*v0000045Ep000002FD
    depends:        hid,ff-memless
    retpoline:      Y
    name:           hid_xpadneo
    vermagic:       5.9.8 SMP mod_unload
    parm:           combined_z_axis:(bool) Combine the triggers to form a single axis. 1: combine, 0: do not combine. (bool)
    parm:           trigger_rumble_mode:(u8) Trigger rumble mode. 0: pressure, 1: directional, 2: disable. (byte)
    parm:           rumble_attenuation:(u8) Attenuate the rumble strength: all[,triggers] 0 (none, full rumble) to 100 (max, no rumble). (array of byte)
    parm:           ff_connect_notify:(bool) Connection notification using force feedback. 1: enable, 0: disable. (bool)
    parm:           gamepad_compliance:(bool) Adhere to Linux Gamepad Specification by using signed axis values. 1: enable, 0: disable. (bool)
    parm:           disable_deadzones:(bool) Disable dead zone handling for raw processing by Wine/Proton, confuses joydev. 0: disable, 1: enable. (bool)
    parm:           quirks:(string) Override device quirks, specify as: "MAC1:quirks1[,...16]", MAC format = 11:22:33:44:55:66, no pulse parameters = 1, no trigger rumble = 2, no motor masking = 4, hardware profile switch = 8, use Linux button mappings = 16, use Nintendo mappings = 32, use Share button mappings = 64 (array of charp)
    
  • Determined the impact on package closure size (by running nix path-info -S before and after)

  • Ensured that relevant documentation is up to date

  • Fits CONTRIBUTING.md.

@kira-bruneau
Copy link
Contributor Author

Result of nixpkgs-review pr 104620 1

17 packages built:
  • linuxPackages-libre.xpadneo
  • linuxPackages.xpadneo
  • linuxPackages_4_14.xpadneo
  • linuxPackages_4_19.xpadneo
  • linuxPackages_4_4.xpadneo
  • linuxPackages_4_9.xpadneo
  • linuxPackages_5_8.xpadneo
  • linuxPackages_5_9.xpadneo
  • linuxPackages_hardened.xpadneo
  • linuxPackages_latest-libre.xpadneo
  • linuxPackages_latest_hardened.xpadneo
  • linuxPackages_latest_xen_dom0.xpadneo
  • linuxPackages_latest_xen_dom0_hardened.xpadneo
  • linuxPackages_testing_bcachefs.xpadneo
  • linuxPackages_xen_dom0.xpadneo
  • linuxPackages_xen_dom0_hardened.xpadneo
  • linuxPackages_zen.xpadneo

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/prs-ready-for-review/3032/387

@SuperSandro2000
Copy link
Member

@ofborg eval
@ofborg build linuxPackages.xpadneo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants