Notices


Reply
Thread Tools
Posts: 172 | Thanked: 193 times | Joined on Nov 2009 @ Germany
#121
Originally Posted by wumpwoast View Post
I don't have my goal game stuff working, but + and - on the wiimote affect volume, which is a start!
I am at the exact same point. The buttons to change the mapping also don't seem to react on a finger press.

Did you continue your investigations or did anyone ask the author to fix Wiicontrol for PR1.2?
 
Posts: 38 | Thanked: 3 times | Joined on Apr 2010
#122
Hi. I am running wiicontrol on my N810, and the first times it worked. However, after restarting, all keys in all 4 modes were return. When I start it in the comand line, I get:
~/.osso $ wiicontrol
/home/user/.osso/current-gtk-key-theme:1: Unable to find include file: "keybindings.rc"
Press 1+2 in your wiimote and wait a moment
Nintendo RVL-CNT-01 => 00:1B:7A:31:F6:2A
NINTENDO WIIMOTE FOUND AT: 00:1B:7A:31:F6:2A
Locked to mote:00:1B:7A:31:F6:2A
Press 1+2 in your wiimote
GAME-COMPUTER => 00:02:76:1B:42:16
No more bluetooth devices found
Nintendo RVL-CNT-01 => 00:1B:7A:31:F6:2A
NINTENDO WIIMOTE FOUND AT: 00:1B:7A:31:F6:2A
Wiimote connected. Have fun!
Wiimote connected. Have fun!
setPortrait
I can not go into the folder "current-gtk-key-theme"
~/.osso $ cd current-gtk-key-theme
-sh: cd: can't cd to current-gtk-key-theme
~/.osso $ ls -a
. hildon-input-method
.. mediaplayer-engine
OSSO_FILEMANAGER mediaplayer-ui
current-gtk-key-theme menus
current-gtk-theme mis
current-gtk-theme.maemo_af_desktop osso-notes
hildon-application-manager osso_help.dat
hildon-desktop osso_sketch.dat
hildon-fm
Please help!
 
Posts: 2 | Thanked: 0 times | Joined on Jul 2010 @ Australia
#123
Guys, i just can't find it anywhere.......

I have extras/extras-devel/extras-testing and its not there..... am i looking in the wrong repository? If so, can someone tell me which one its in.
 
Posts: 110 | Thanked: 127 times | Joined on May 2010
#124
Originally Posted by percy View Post
I am at the exact same point. The buttons to change the mapping also don't seem to react on a finger press.

Did you continue your investigations or did anyone ask the author to fix Wiicontrol for PR1.2?
I got frustrated with it.

By copying the wiicontrol.py file and changing the key mappings, I was able to play basic arrow keys + A and B sorts of games. But the Wiimote shuts off / stops working when either the N900 goes to sleep, or when I stop pressing buttons on the Wiimote.

Once the Wiimote stops working, I need to take the batteries out and wait hours until I can reinsert them and synch with Wiicontrol. It's like the Wii remote has persistent memory that makes synchronization with the N900 impossible after a failure.
 
Posts: 172 | Thanked: 193 times | Joined on Nov 2009 @ Germany
#125
Originally Posted by ore616 View Post
Guys, i just can't find it anywhere.......

I have extras/extras-devel/extras-testing and its not there..... am i looking in the wrong repository? If so, can someone tell me which one its in.
At least for the N900 you can find it here:

http://maemo.org/packages/package_in...iicontrol/1.0/

But please be aware that it's not in a usable state atm.
 
Posts: 172 | Thanked: 193 times | Joined on Nov 2009 @ Germany
#126
Originally Posted by wumpwoast View Post
I got frustrated with it.
Not very encouraging but thanks anyway for the quick update.
 
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#127
I've now re-packaged cwiid for Maemo 5 - you can now use the (slightly more efficient?) wminput application from cwiid-utils instead of wiicontrol. Here's a quick HOWTO:
  • Install cwiid-utils from Extras-Devel
  • sudo gainroot
  • modprobe uinput
  • chmod a+rw /dev/input/uinput
  • exit (Ctrl+D)
  • wminput -c ./maemo-sideways

The maemo-sideways configuration file contains:

Code:
Wiimote.Up	= KEY_LEFT
Wiimote.Down	= KEY_RIGHT
Wiimote.Left	= KEY_DOWN
Wiimote.Right	= KEY_UP

Wiimote.A	= KEY_A
Wiimote.B	= KEY_B

Wiimote.Minus	= KEY_M
Wiimote.Home	= KEY_H
Wiimote.Plus	= KEY_P

Wiimote.1	= KEY_C
Wiimote.2	= KEY_D
Now you can configure the keys in the emulators. The directional keys are mapped so that you hold the wiimote sideways, like in New Super Mario Bros. Wii.

Of course, you can create your own configuration file and do nice things (e.g. map the Nunchuk analog stick to a joystick, ...) - see the wminput help for details.
 

The Following 6 Users Say Thank You to thp For This Useful Post:
Posts: 172 | Thanked: 193 times | Joined on Nov 2009 @ Germany
#128
Originally Posted by thp View Post
I've now re-packaged cwiid for Maemo 5 - you can now use the (slightly more efficient?) wminput application from cwiid-utils instead of wiicontrol.
It seems that the package is missing a dependency to "python-cwiid". I had to manually install it otherwise I got a "ImportError: No module named cwiid" when starting wminput.
 
Posts: 999 | Thanked: 1,117 times | Joined on Dec 2009 @ earth?
#129
Originally Posted by thp View Post
I've now re-packaged cwiid for Maemo 5 - you can now use the (slightly more efficient?) wminput application from cwiid-utils instead of wiicontrol. Here's a quick HOWTO:
  • Install cwiid-utils from Extras-Devel
  • sudo gainroot
  • modprobe uinput
  • chmod a+rw /dev/input/uinput
  • exit (Ctrl+D)
  • wminput -c ./maemo-sideways
I've followed the instructions but everytime I do the last bit
wminput -c ./maemo-sideways
I get a segmentation error.

EDIT: It's working now - there was something wrong with config file. Downloaded some examples from the internet and everything is working perfectly.
__________________
I like cake.

Last edited by johnel; 2010-08-13 at 17:47.
 
Posts: 1 | Thanked: 0 times | Joined on Aug 2010
#130
Hallo Guys,

i get the same Error:

ImportError: No module named cwiid,

after I start this:

wminput -c ./maemo-sideways

EDIT


oh i forgot:

python-cwiid

:-)

Last edited by chrizzz; 2010-08-16 at 16:14.
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:57.