Skip to content

[feature request] add 8bitdo controllers dinput udev rule #199

@spinktvis

Description

@spinktvis

Hi CachyOS team,

Could you consider implementing a udev rule for 8bitdo controllers dinput? With this rule the gyro, rumble, and extra buttons function, without this udev rule, these don't function as it defaults to xinput.

The 'all 8bitdo controller' rule not only works for the 8bitdo Ultimate 2 Wireless, but works for other 8bitdo controllers with similar functionality as well.

The source and rules can be found here: https://gist.github.com/barraIhsan/783a82bcf32bed896c85d27dbb8018a5

The rules themselves, in case the gist ever disappears.

8bitdo Ultimate 2 Wireless udev rule:

# 2.4GHz/Dongle
KERNEL=="hidraw*", ATTRS{idProduct}=="6012", ATTRS{idVendor}=="2dc8", MODE="0660", TAG+="uaccess"
# Bluetooth
KERNEL=="hidraw*", KERNELS=="*2DC8:6012*", MODE="0660", TAG+="uaccess"

All 8bitdo controllers udev rule:

# 2.4GHz/Dongle
KERNEL=="hidraw*", ATTRS{idVendor}=="2dc8", MODE="0660", TAG+="uaccess"
# Bluetooth
KERNEL=="hidraw*", KERNELS=="*2DC8:*", MODE="0660", TAG+="uaccess"

Save one or the other it in /etc/udev/rules.d/71-8bitdo-u2w.rules, then reload udev (# udevadm control --reload). Then hold B while turning on your controller for dinput mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions