LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-03-2016, 07:11 PM   #1
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Guide: Getting a Wii-U Pro Controller to work


I just spent an embarrassing amount of time getting my Wii-U Pro Controller to work, without an adapter, over Bluetooth. Here's how I ended up doing it.

My system is Slackware 14.1, with Bluez upgraded to 5.36 and the kernel upgraded to 4.4. My user account is a member of the "games" group.

To get the controller's device nodes to have the correct permissions, I created the following udev rule file:
Code:
/etc/udev/rules.d/10-wiimote.rules
containing the following:
Code:
DRIVERS=="wiimote", GROUP="games", MODE:="0660"
To prevent the sticks from moving the mouse, I created the following file:
Code:
 /etc/X11/xorg.conf.d/50-xorg-fix-xwiimote.conf
containing the following:
Code:
Identifier "Nintendo Wii Remote Pro Controller Whitelist"
        MatchProduct "Nintendo Wii Remote Pro Controller"
        MatchDevicePath "/dev/input/event*"
        Option "Ignore" "on"
EndSection
Then I paired the controller.

With a bluetooth manager running (I use bluetoothctl with "power on; agent on; default-agent; discoverable on"), I hold down the controller's power button until it connects, and then I use it. RetroArch and Shovel Knight (Steam version), the two things I tested with it, work with it. When I'm done, I hold down the controller's power button until it disconnects.

EDIT: credit where credit is due. The X conf file is partly taken from here: https://github.com/dvdhrm/xwiimote/b...-xwiimote.conf

Last edited by dugan; 04-10-2016 at 05:07 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does Linux work with Wii Remote Control? LinuxProger Linux - Hardware 2 06-18-2009 06:07 PM
ATi install guide for SuSE 9.2 pro Jason711 SUSE / openSUSE 19 08-24-2005 04:50 AM
Which SATA Controller for SuSE Pro 9.3 warrenk Linux - Hardware 1 07-27-2005 08:26 PM
Duel Boot,XP Pro+Suse 9.1 pro wont work. jonny.k Linux - Laptop and Netbook 6 11-28-2004 07:37 AM
SuSE 9.0 Pro User Guide? LuvDaPenguin Linux - General 2 03-24-2004 11:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration