| View previous topic :: View next topic |
| Author |
Message |
razor1394
Joined: 07 Mar 2007 Posts: 10 Location: Sweden/Stockholm/Nacka
Digg It |
Posted: Sun Mar 18, 2007 5:57 pm Post subject: Nunchuck joystick, key mapping and PS3 |
|
|
| Great application. Makes it so easy to use a Wiimote on GNU/Linux. I could never get WMD running. I just wonder how I could use the Nunchuck joystick instead of the directional pad when for ex browsing with Firefox? And how do I map keys in games? Are there any special requirements for the PS3? I see that WMD requires some patching of for ex uinput. |
|
| Back to top |
|
 |
abstrakraft
Joined: 27 Dec 2006 Posts: 107
Digg It |
Posted: Mon Mar 19, 2007 6:46 pm Post subject: |
|
|
Thanks.
This is the second request I've had that suggests providing a way to map axes to buttons....submit a ticket at abstrakraft.org/cwiid, and we'll come up with something.
Use the configuration file to map wiimote buttons to keyboard symbols or joystick buttons, then refer to those in the game. More detail in cwiid/wminput/README.
PS3 as in PlayStation 3? I'm not sure what you mean - can you be more specific? _________________ "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 |
|
 |
razor1394
Joined: 07 Mar 2007 Posts: 10 Location: Sweden/Stockholm/Nacka
Digg It |
Posted: Mon Mar 19, 2007 9:06 pm Post subject: |
|
|
Yes I meant the Playstation 3. I've seen that the Wiimote works with the PS3 when using WMD so it should work with Cwiid I guess. I've already compiled it and the dependencies for Gentoo on it. What's left is recompiling the kernel with uinput which I can't accomplish (Kernel locks up when booting). WMD required patching of itself, python (ioctl bindings) and the uinput kernel module. I don't know what Cwiid requires.
I did also notice something that my Gentoo systems don't like with Cwiid. Cwiid install writes a text file called include in /usr/local/. I think it has overwritten the dir include in that location cause things like emerge compilations fail unless i move that text file and restore the include dir.
Is it normal that the cursor stutters when using IR mode? I don't know if It's because of my hand but it makes navigation pretty hard. I use a flashlight now but I've ordered a proper wireless emitter. Also what would it require for reconnecting the Wiimote after a reboot? I tried putting wminput in /etc/conf.d/local.start but It didn't work... I guess I did something wrong...
Any plans for an ebuild?
Thanks. |
|
| Back to top |
|
 |
abstrakraft
Joined: 27 Dec 2006 Posts: 107
Digg It |
Posted: Mon Mar 19, 2007 11:52 pm Post subject: |
|
|
I don't know anything about PS3 Linux, but CWiid uses uinput as well. As far as patching CWiid itself, I'll work with you on it if you can tell me about the peculiarities of the PS3.
The /usr/local/include issue was addressed in another thread. Summary: it's been fixed in the svn repository, and the bug only occurs if /usr/local/include didn't exist to begin with, so you didn't lose any data. Sounds like I should go ahead and push another bugfix....
IR cursor stuttering - normal. The algorithm needs work. A LOT of work.
Starting wminput on startup _should_ work, but you need to press 1+2 at the right time. I'd love for wminput to idle until the power button on the wiimote is pressed, but no one else has reverse engineered the power button, and I don't have a wii.
ebuild - sure, maybe. Not high on my list, but as a fellow gentoo user, it would be convenient. _________________ "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 |
|
 |
abstrakraft
Joined: 27 Dec 2006 Posts: 107
Digg It |
|
| Back to top |
|
 |
razor1394
Joined: 07 Mar 2007 Posts: 10 Location: Sweden/Stockholm/Nacka
Digg It |
Posted: Mon Mar 26, 2007 3:24 pm Post subject: |
|
|
Thanks. However the ebuild doesn`t work (gives sandbox errors) for me unless I add:
| Quote: |
FEATURES="-sandbox'
|
Also, is it normal for the cursor not to reach all the edges/parts of the screen? |
|
| Back to top |
|
 |
abstrakraft
Joined: 27 Dec 2006 Posts: 107
Digg It |
Posted: Mon Mar 26, 2007 8:02 pm Post subject: |
|
|
I'll take a look at the ebuild - I've never (knowingly) used the sandbox feature.
Nope - cursor should reach the edges with the standard config files. Which one are you using? _________________ "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 |
|
 |
|