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 

ir mouse control, and nunchuck setup
Goto page 1, 2  Next
 
Post new topic   Reply to topic    WiiLi.org Forum Index -> CWiid
View previous topic :: View next topic  
Author Message
cakofony



Joined: 04 Mar 2007
Posts: 9

Digg It
PostPosted: Sun Mar 04, 2007 10:09 pm    Post subject: ir mouse control, and nunchuck setup

How would I go about setting my nunchuck thumb axis thing for w,s,a,d (for gaming)?
I would also like to do mouse control through my ir-bar instead of the tilt sensors (I got this to work using the script "WMD" but it doesnt have nunchuck support)

any help you could give would be great!
Back to top
View user's profile Send private message AIM Address
abstrakraft



Joined: 27 Dec 2006
Posts: 107

Digg It
PostPosted: Mon Mar 05, 2007 1:45 am    Post subject:

CWiid doesn't support mapping axes to buttons. Wouldn't be too hard to write a plugin for it, though. I'm not much of a gamer - is this a common requirement? Seems like you're using the wrong tool for the job.

For IR control, 'wminput -c ir_ptr'.
_________________
"I seldom let practicality get in the way of my fascination with shiny things and blinky lights."
- some guy
http://abstrakraft.org/cwiid
Back to top
View user's profile Send private message
cakofony



Joined: 04 Mar 2007
Posts: 9

Digg It
PostPosted: Mon Mar 05, 2007 2:53 am    Post subject:

Wow, thanks! the ir works now Smile

I don't think I have read many requests for the nunchuck to be assigned wsad, but it seems like you should be able to do something with it. is there any way to make it work like a joystick? that seems more appropriate than wsad now that I think about it.

Also, is there any way I can decrease the sensitivity of the ir?

thanks
Back to top
View user's profile Send private message AIM Address
Snark



Joined: 28 Dec 2006
Posts: 115

Digg It
PostPosted: Mon Mar 05, 2007 7:45 am    Post subject:

How close do you sit to your computer when you are using the wiimote? The sensor bar is not meant to be used closer than 3 feet. If you want to get closer than that, you have to build a custom bar with the IR lights closer together so that you can get closer when using it.

That's probably not what you were asking, though.. Laughing
Back to top
View user's profile Send private message
abstrakraft



Joined: 27 Dec 2006
Posts: 107

Digg It
PostPosted: Mon Mar 05, 2007 1:07 pm    Post subject:

Put

Nunchuk.Stick.X = ABS_X
Nunchuk.Stick.X = ABS_Y

in a config file, and run 'wminput -c [filename]' to make it work like a joystick. Check out cwiid/wminput/README (or http://abstrakraft.org/cwiid/wiki/wminput, or http://abstrakraft.org/cwiid/browser/trunk/wminput/README) for more information on how to write your own configurations.

IR tracking - it's not great. The algorithm needs to be made a bit smarter, and without changing source code, no, there's no way to change sensitivity.
_________________
"I seldom let practicality get in the way of my fascination with shiny things and blinky lights."
- some guy
http://abstrakraft.org/cwiid
Back to top
View user's profile Send private message
cakofony



Joined: 04 Mar 2007
Posts: 9

Digg It
PostPosted: Mon Mar 05, 2007 9:41 pm    Post subject:

awesome, thanks for the info
Back to top
View user's profile Send private message AIM Address
cakofony



Joined: 04 Mar 2007
Posts: 9

Digg It
PostPosted: Mon Mar 05, 2007 11:21 pm    Post subject:

also, one more quick question:
where can I find all the button codes?
the ones i'm looking for are mainly ctrl and space, thanks Very Happy
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> CWiid All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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