View Single Post
Posts: 172 | Thanked: 193 times | Joined on Nov 2009 @ Germany
#138
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.
 

The Following User Says Thank You to percy For This Useful Post: