Skip to content

Conversation

ericjim
Copy link

@ericjim ericjim commented Sep 27, 2025

Installs xpadneo driver automatically to ensure Xbox/Bluetooth controllers work out of the box.

Prompts users during Steam installation to optionally install the xpadneo driver, which fixes common Xbox/Bluetooth controller issues including detection problems and missing rumble support.
@dhh
Copy link
Member

dhh commented Sep 29, 2025

I think we should just install this stuff to ensure that these common controllers just work out of the box. cc @ryanrhughes

@dhh dhh added the gaming label Sep 29, 2025
echo " • Bluetooth connectivity problems"
echo ""
read -p "Install controller fix? (y/N): " -n 1 -r
echo ""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cut all this. It should just add this directly.

echo ""

if [[ $REPLY =~ ^[Yy]$ ]]; then
echo "Setting up xpadneo enhanced controller support..."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No output and no ask needed.

elif [[ $KERNEL == *"lts"* ]]; then
sudo pacman -S --noconfirm linux-lts-headers
else
sudo pacman -S --noconfirm linux-headers
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We only support the default kernel by default, so just stick to that.

echo 'hid_xpadneo' | sudo tee /etc/modules-load.d/xpadneo.conf >/dev/null

# Add input group permission
sudo usermod -a -G input $USER
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't this require a reboot to take effect?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this will require a reboot to take effect. Looks like I can add

omarchy-state set relaunch-required

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. I think this is ready for re-review @dhh

@ericjim ericjim changed the title Add optional xpadneo driver prompt to Steam installer Install xpadneo driver by default for Steam Oct 13, 2025
sudo usermod -a -G input $USER
omarchy-state set relaunch-required

setsid gtk-launch steam >/dev/null 2>&1 &
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that a restart is required, we can probably get rid of this line opening Steam

@ericjim
Copy link
Author

ericjim commented Oct 13, 2025

I tested this on a clean install of Omarchy. After a restart, I was able to connect my Xbox One Elite Series controller, get vibration and buttons working.

I noticed an unrelated issue on my clean install, Nvidia drivers were automatically installed, instead of AMD drivers. I am on a framework 16 with the dGPU. I'd be happy to file an issue for this.

(EDIT: adjacent issue #1441 - re: AMD drivers - I can pick this after on a different branch)

@ericjim ericjim requested a review from dhh October 13, 2025 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants