maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Wiicontrol Application for Maemo (https://talk.maemo.org/showthread.php?t=19658)

percy 2010-07-07 14:06

Re: Wiicontrol Application for Maemo
 
Quote:

Originally Posted by wumpwoast (Post 654448)
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?

wolfs are great!!! 2010-07-09 20:56

Re: Wiicontrol Application for Maemo
 
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:
Quote:

~/.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"
Quote:

~/.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!

ore616 2010-08-02 03:28

Re: Wiicontrol Application for Maemo
 
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.:confused::confused:

wumpwoast 2010-08-02 04:51

Re: Wiicontrol Application for Maemo
 
Quote:

Originally Posted by percy (Post 743739)
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.

percy 2010-08-06 13:40

Re: Wiicontrol Application for Maemo
 
Quote:

Originally Posted by ore616 (Post 772595)
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.:confused::confused:

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.

percy 2010-08-06 13:41

Re: Wiicontrol Application for Maemo
 
Quote:

Originally Posted by wumpwoast (Post 772644)
I got frustrated with it.

Not very encouraging but thanks anyway for the quick update. ;)

thp 2010-08-11 14:43

Re: Wiicontrol Application for Maemo
 
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.

percy 2010-08-12 13:48

Re: Wiicontrol Application for Maemo
 
Quote:

Originally Posted by thp (Post 783078)
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.

johnel 2010-08-13 07:05

Re: Wiicontrol Application for Maemo
 
Quote:

Originally Posted by thp (Post 783078)
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
Quote:

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.

chrizzz 2010-08-16 15:44

Re: Wiicontrol Application for Maemo
 
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

:-)


All times are GMT. The time now is 15:14.

vBulletin® Version 3.8.8