maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Use WiiMote as Bluetooth Gamepad or Remote Control (Working with Dr.NokSnes!) (https://talk.maemo.org/showthread.php?t=43050)

2disbetter 2010-02-04 12:32

Re: Use WiiMote as Bluetooth Gamepad or Remote Control (Working with Dr.NokSnes!)
 
Very nicely organized. I just got mine all setup and scripts written for all my ssh and VNC needs, so now I'm going to start getting it all decked out for gaming. I have all of the things you listed with the excetion of duke nukem 3d, and doom 2 as I don't legally own them.

I've been playing Chrono Trigger and Final Fantasy III though for sometime now on mine. Making some good progress. It's funny I wanted to play FFIII for a long time, as when I was younger I could never get it. And now I'm experiencing it through my n900. Pretty amazing.

When I'm off work, I'm going to try to get the wiimote to work with UGM. That would be amazing. I'd fight so much better in that game this way. hahahaha.

2d

TooMuchMoney 2010-02-04 15:02

Re: Use WiiMote as Bluetooth Gamepad or Remote Control (Working with Dr.NokSnes!)
 
Quote:

Originally Posted by f2thak (Post 506339)
...
3. download and move WiiControl DrNokSnes Config file to "/usr/bin/" folder on your N900 (need help?)

What should I name this configuration file?

The link just opens this text file in browser.

Update: nevermind worked it out

mikec 2010-02-05 12:48

Re: Use WiiMote as Bluetooth Gamepad or Remote Control (Working with Dr.NokSnes!)
 
Quote:

Originally Posted by f2thak (Post 509796)
these steps work for me 95% of the time:

1. enable BlueTooth, with visibility ON, and device name "N900"
2. press a button on WiiMote
3. open WiiControl
4. repeatedly press the 1+2 buttons together, until it says connected
5. if you want gyros on, press "gamepad+gyros" button then press a button on WiiMote
6. then it should work!!

Just a point of clarification on step 4.
Press and HOLD the 1+2 buttons together, until it says connected.

F2thaK 2010-02-05 13:50

Re: Use WiiMote as Bluetooth Gamepad or Remote Control (Working with Dr.NokSnes!)
 
##################################################
Use WiiMote as a Gamepad / Remote
##################################################


DOWNLOAD CUSTOM CONFIG + ICON + FULL HELP


--------------------------------------------------------------------------------------
To connect Wiimote with N900:
--------------------------------------------------------------------------------------

1. on N900 enable Bluetooth, with visibility ON, device name "N900"
2. press any button on WiiMote
3. open WiiControl
4. on WiiMote, repeatedly press the 1 + 2 buttons together, until it says "connected"
5. if you want gyros on, press "gamepad+gyros" button then press a button on WiiMote


--------------------------------------------------------------------------------------
Included configuration: ("wiicontrol" file)
--------------------------------------------------------------------------------------

Gamepad Mode:

[Left] # dpad left
[Right] # dpad right
[Down] # dpad down
[Up] # dpad up
[e] # A
[q] # +
[Escape] # -
[a] # 1
[w] # 2
[KP_Enter] # home


Gamepad+Gyro Mode:

[s] # dpad left
[d] # dpad right
[Down] # dpad down
[Up] # dpad up
[e] # A
[q] # +
[Escape] # -
[a] # 1
[w] # 2
[KP_Enter] # home
[Left] # gyro left
[Right] # gyro right


--------------------------------------------------------------------------------------
Set WiiControl Icon
--------------------------------------------------------------------------------------

move "ukwii.desktop" file to:
/usr/share/applications/hildon

move "wiiremote.png" file to:
/usr/share/icons/hicolor/48x48/hildon/
(overwrite)


--------------------------------------------------------------------------------------
How To Configure Controls
--------------------------------------------------------------------------------------

you need to edit "/usr/bin/wiicontrol" file.

scroll to section shown below. (In _CODE-CODE_ section)

"mapping" section is for gamepad only mode
"mapping_l" section is for gamepad + gyro mode (accelerometers)

to change a specific button, (e.g. gamepad mode "A" button) you need to change only the key name within the ["a ???"] section, ??? being the key name. (e.g. 'A': ["a Q"] would set button A to the Q key.)

then in your games/apps just set the keys to whichever you set.

this should work!


_________CODE__________
........................
mapping={
'U': ["a Left"], # dpad left
'D': ["a Right"], # dpad right
'L': ["a Down"], # dpad down
'R': ["a Up"], # dpad up
'A': ["a e"], # A
'+': ["a q"], # +
'-': ["a Escape"], # -
'1': ["a a"], # 1
'2': ["a w"], # 2
'H': ["a KP_Enter"], # home
'GU': ["a Up"], # gyro up
'GD': ["a Down"], # gyro down
'GL': ["a Left"], # gyro left
'GR': ["a Right"], # gyro right
'Z': ["a z"], # unknown
'C': ["a x"] # unknown
}

mapping_l={
'U': ["a s"], # dpad left
'D': ["a d"], # dpad right
'L': ["a Down"], # dpad down
'R': ["a Up"], # dpad up
'A': ["a e"], # A
'+': ["a q"], # +
'-': ["a Escape"], # -
'1': ["a a"], # 1
'2': ["a w"], # 2
'H': ["a KP_Enter"], # home
'GU': [""], # gyro up
'GD': [""], # gyro down
'GL': ["a Left"], # gyro left
'GR': ["a Right"], # gyro right
'Z': ["a z"], # unknown
'C': ["a x"] # unknown
........................
__________CODE__________

F2thaK 2010-02-07 08:59

Re: Use WiiMote as Bluetooth Gamepad or Remote Control (Working with Dr.NokSnes!)
 
Quote:

Originally Posted by mikec (Post 511770)
Just a point of clarification on step 4.
Press and HOLD the 1+2 buttons together, until it says connected.

actually i tried this.. if you just hold them it doesnt work !!

you must repeatedly press buttons 1 and 2 together

F2thaK 2010-02-07 09:50

Re: Use WiiMote as Bluetooth Gamepad or Remote Control (Working with Dr.NokSnes!)
 
View my DrNokSnes vids here:

includes some playing with WiiMote


http://www.youtube.com/user/OzN900

cleareyes 2010-02-09 23:57

Re: Use WiiMote as Bluetooth Gamepad or Remote Control (Working with Dr.NokSnes!)
 
I have an n900 with scandinavian keyboard layout: http://bitsolutions.no/forums/N900_KeyCompare.png

what do you call the "æ" and the "." in the script?

g0dzilla 2010-02-10 15:37

Re: Use WiiMote as Bluetooth Gamepad or Remote Control (Working with Dr.NokSnes!)
 
Has made all under your instruction - there are problems.
Takes off and is closed WiiControl. Probably it as that is linked by what I use Russian localised version N900?

http://s57.radikal.ru/i155/0910/74/7729baa3e65c.jpg

F2thaK 2010-02-11 02:03

Re: Use WiiMote as Bluetooth Gamepad or Remote Control (Working with Dr.NokSnes!)
 
huh??.....

romain 2010-02-11 06:46

Re: Use WiiMote as Bluetooth Gamepad or Remote Control (Working with Dr.NokSnes!)
 
Hi,
that sounds reall fun, but I am unsure about how to move the files in those folders in the N900.
They are not shown in the normal file manager, right?
Also, the "help" hyperlink directs me to some very confusing stuff... is it the only way to do this?

Thanks in advance. If there is no other way, then I ll just put my brain to work ^^

Romain


All times are GMT. The time now is 12:50.

vBulletin® Version 3.8.8