| View previous topic :: View next topic |
| Author |
Message |
cakofony
Joined: 04 Mar 2007 Posts: 9
Digg It |
Posted: 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 |
|
 |
abstrakraft
Joined: 27 Dec 2006 Posts: 107
Digg It |
Posted: 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 |
|
 |
cakofony
Joined: 04 Mar 2007 Posts: 9
Digg It |
Posted: Mon Mar 05, 2007 2:53 am Post subject: |
|
|
Wow, thanks! the ir works now
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 |
|
 |
Snark
Joined: 28 Dec 2006 Posts: 115
Digg It |
Posted: 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..  |
|
| Back to top |
|
 |
abstrakraft
Joined: 27 Dec 2006 Posts: 107
Digg It |
Posted: 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 |
|
 |
cakofony
Joined: 04 Mar 2007 Posts: 9
Digg It |
Posted: Mon Mar 05, 2007 9:41 pm Post subject: |
|
|
| awesome, thanks for the info |
|
| Back to top |
|
 |
cakofony
Joined: 04 Mar 2007 Posts: 9
Digg It |
Posted: 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  |
|
| Back to top |
|
 |
|