View Single Post
Posts: 123 | Thanked: 56 times | Joined on Jun 2010 @ Portugal
#139
Originally Posted by percy View Post
As mentioned earlier in this thread, Wiicontrol is not working for me. Instead I use the cwiid-packages mentioned here: http://talk.maemo.org/showpost.php?p...&postcount=127

You need the packages cwiid-utils, libcwiid and python-cwiid. Then get a config file for wminput. Here is what I am using, nothing special:

Code:
Wiimote.A                = KEY_A
Wiimote.B                = KEY_B
Wiimote.Up               = KEY_LEFT
Wiimote.Down             = KEY_RIGHT
Wiimote.Left             = KEY_DOWN
Wiimote.Right            = KEY_UP
Wiimote.Minus            = KEY_M
Wiimote.Plus             = KEY_P
Wiimote.Home             = KEY_H
Wiimote.1                = KEY_X
Wiimote.2                = KEY_Y

Nunchuk.C                = KEY_C
Nunchuk.Z                = KEY_Z

Plugin.nunchuk_stick2btn.Up     = KEY_UP
Plugin.nunchuk_stick2btn.Down   = KEY_DOWN
Plugin.nunchuk_stick2btn.Left   = KEY_LEFT
Plugin.nunchuk_stick2btn.Right  = KEY_RIGHT
I placed this file in
Code:
 /usr/etc/cwiid/wminput/nunchuk
.
Then turn on bluetooth and start wminput as
Code:
wminput nunchuck
.
Press 1+2 on your Wiimote and you should be connected.

In the settings of DrNokSNES you can configure your preferred keyboard mappings, for example I mapped "Start" to "Plus (p)" and "Select" to "Minus (m)" and "Back to launcher" to "Home (h)".

Hint: To check whether wminput is working as expected, connect your Wiimote and open the notes application. Now pressing the keys A,B,C and Z should show up as a,b,c and z in the notes window. 1 and 2 shoud result in x and y and the nunchuk should move the cursor.
it works! but only for the first 5 seconds and then it stops... :s

Any solution for this?

Thanks

EDIT: Ok, i guess it just stopps to work when i move my wiimote, so i thing it is a problem with the movement sensor configurations of wminput...any help?

Last edited by SSLMM; 2010-09-11 at 03:53.