| View previous topic :: View next topic |
| Author |
Message |
onesojourner
Joined: 25 Jan 2008 Posts: 17
Digg It |
Posted: Fri Jan 25, 2008 6:33 pm Post subject: trying to get the classic controller working with ubuntu |
|
|
| I have posted this over on the ubuntu forums but I thought I might get a better response over here. I am trying to get the classic controller working with a snes emulator. Are there any how-tos out there on getting this done? |
|
| Back to top |
|
 |
para
Joined: 20 Aug 2007 Posts: 89
Digg It |
Posted: Fri Jan 25, 2008 11:15 pm Post subject: |
|
|
There is a program called XWii that uses wiiuse to map the classic controller buttons as key strokes in X. I've been playing zsnes with the classic controller for weeks, it's awesome.
XWii here (the program)
Wiiuse here (the library that XWii uses)
edit: I had made a comment about CWiid that was completely disrespectful and not like me to make. I apologize for it and would like to say CWiid is a good library and it opened the way continued wiimote development. _________________ wiiuse C wiimote library - http://wiiuse.net/
Last edited by para on Mon Apr 21, 2008 2:22 pm; edited 2 times in total |
|
| Back to top |
|
 |
onesojourner
Joined: 25 Jan 2008 Posts: 17
Digg It |
Posted: Sat Jan 26, 2008 3:07 am Post subject: |
|
|
How do I go about installing this. I unpacked it to my home folder.
I am not sure what this means
xwii path/to/config/file.xwii |
|
| Back to top |
|
 |
para
Joined: 20 Aug 2007 Posts: 89
Digg It |
Posted: Sat Jan 26, 2008 4:04 pm Post subject: |
|
|
| onesojourner wrote: | How do I go about installing this. I unpacked it to my home folder.
I am not sure what this means
xwii path/to/config/file.xwii |
There is no installation, you just decompress and run it. If you want you can copy xwii to /usr/bin.
Otherwise just run it:
| Code: | | # ./xwii profiles/classic.xwii |
If you press a button it will print in the terminal the keyboard button that it is mapped to. Then minimize the terminal and go run something like zsnes. It should work fine.
Are you new to linux? _________________ wiiuse C wiimote library - http://wiiuse.net/ |
|
| Back to top |
|
 |
onesojourner
Joined: 25 Jan 2008 Posts: 17
Digg It |
Posted: Sat Jan 26, 2008 4:18 pm Post subject: |
|
|
| I have been using ubuntu since 5.10 RC but 99% of the programs I install I just use synaptic. This is new ground for me. I will try that this evening. After I run that what do I need to Wiiuse? I see it is packaged in the Xwii file. |
|
| Back to top |
|
 |
onesojourner
Joined: 25 Jan 2008 Posts: 17
Digg It |
Posted: Sat Jan 26, 2008 9:46 pm Post subject: |
|
|
ok I set up my bluetooth stuff. I can browse for the remote but it says check spelling. So I can see it I just can't connect. Is that normal?
I typed in XWii/profiles/classic.xwii and nothing apears to have happened. When I try to open zsnes it says
| Code: |
Starting Mouse detection.
Unable to poll /dev/input/event6. Make sure you have read permissions to it.
Unable to poll /dev/input/event5. Make sure you have read permissions to it.
Unable to poll /dev/input/event7. Make sure you have read permissions to it.
Unable to poll /dev/input/event3. Make sure you have read permissions to it.
Unable to poll /dev/input/event2. Make sure you have read permissions to it.
Unable to poll /dev/input/event4. Make sure you have read permissions to it.
Unable to poll /dev/input/event1. Make sure you have read permissions to it.
Unable to poll /dev/input/event0. Make sure you have read permissions to it.
ManyMouse: 0 mice detected.
|
|
|
| Back to top |
|
 |
para
Joined: 20 Aug 2007 Posts: 89
Digg It |
Posted: Sat Jan 26, 2008 10:47 pm Post subject: |
|
|
Paste the complete output of the program.
You should get something like:
| Code: | # ./xwii Profiles/classic.xwii
wiiuse version = 0.9
[INFO] Found wiimote [assigned wiimote id 1].
Connected to 1 wiimotes (of 1 found). |
Make sure you:
- Have BlueZ (the bluetooth driver) properly setup. Check your distribution documention for how to do this.
- Have a bluetooth dongle connected to the system.
- Have the wiimote in discovery mode (press 1+2 or the red sync button) when you run the program.
_________________ wiiuse C wiimote library - http://wiiuse.net/ |
|
| Back to top |
|
 |
|