WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

trying to get the classic controller working with ubuntu
Goto page 1, 2, 3, 4  Next
 
Post new topic   Reply to topic    WiiLi.org Forum Index -> CWiid
View previous topic :: View next topic  
Author Message
onesojourner



Joined: 25 Jan 2008
Posts: 17

Digg It
PostPosted: 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
View user's profile Send private message
para



Joined: 20 Aug 2007
Posts: 89

Digg It
PostPosted: 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)



Smile

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
View user's profile Send private message Visit poster's website
onesojourner



Joined: 25 Jan 2008
Posts: 17

Digg It
PostPosted: 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
View user's profile Send private message
para



Joined: 20 Aug 2007
Posts: 89

Digg It
PostPosted: 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
View user's profile Send private message Visit poster's website
onesojourner



Joined: 25 Jan 2008
Posts: 17

Digg It
PostPosted: 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
View user's profile Send private message
onesojourner



Joined: 25 Jan 2008
Posts: 17

Digg It
PostPosted: 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
View user's profile Send private message
para



Joined: 20 Aug 2007
Posts: 89

Digg It
PostPosted: 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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> CWiid All times are GMT
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group