WiiMote demonstration video with mame4iphone
Yesterday I did my daily scan of Twitter and noticed an interesting question sent to at me. The person, TehMillhouse, asked if I could support the BTstack project.
Don’t know what the hell a BTstack project is? It basically implements a whole lot more of the Bluetooth stack than previously allowed by Apple. This is no easy task, so I was surprised to see a video of the author of BTstack already showing it off on YouTube by controlling an application wirelessly…with a WiiMote!
The author of BTstack and I spoke and I ran out to buy a WiiMote today. Moments later I had success! I was playing mame4iphone on my iPhone 3gs with a WiiMote. No wires! Here’s what it looked like:
So needless to say, I really want to get a PS3 controller next and implement that. ![]()
While I could use accelerometer data from the WiiMote, I chose to use button input. It fits emulators a lot better, and that is where the PS3 controller wins out. But using the WiiMote’s tiny dpad and oddly placed buttons is still much nicer than overlay touch controls. This should at least hold you over until the upcoming iControlPad release.
Once I refine this code a bit more, I will make some public releases of my work with WiiMote support included.
Thanks!
ZodTTD
First!
This looks very nice. A ps3 one will great
I agree. It's actually more fun to use a WiiMote than what it appears in the video though. I kept wanting to move out of frame holding it.
But the PS3 controller will be awesome.
Woah thats pretty cool. How did you do it?
ZodTTD: would it be possible to reverse engineer the bluetooth to be used as an actual ps3 or wii mote? or does it require some sort of authenticity?
If you read the post above, it's using bluetooth to connect the Wiimote to the iPhone, in simple words.
Zodttd a question, wouldn't it make more sense to have the control layout like used on the wii for nes games that you'd hold the controller sideways. Doing that Up would be to the right and you use 1 & 2 as inputs rather then A & B.
That is actually a good thing, and I would find it easier control-wise.
It would be really awesome if you could do it with an Xbox 360 controller.
Yes it would. I never used a WiiMote til now though. Smacked my forehead when I found that out afterwards.
If it's bluetooth, it has a chance. I hear the PS3 controller can be used though, which may work out well.
Holy shit nice work Zodttd!
When are you expecting to release it?
And how much will it be? "willing to pay lots =)"
The 360 controller doesn't use bluetooth, as the 360 has no bluetooth chip built in.
Hey zod, make it so that the wiimote is sideways, with the arrow keys at the left and the 1 and 2 on the right. I think that would make it easier to play
I knew that wii was a good investment xD
And also, you should implement this in the other emulators. Then you don't have to wait for iControlPad
OMG… I love you. *hump*
I have a PS3 controller… so I'll be waiting ;D
The moment it gets implemented into an SNES emulator… I'm going and getting a Wii controller. :3 (Or I'll just use my PS3 controller if that works out)
A note to ZodTTD:
I don't think that a PS3 controller has a "sync" mode :/ so I'm not exactly sure how you would go about pairing the device. The only other device successfully paired to a PS3 controller via bluetooth is a PC, but you have to connect it via USB to get the bluetooth mac address.
Now that I think about it, you may be able to connect using the mac address by inputting it into the iPhone or iPod… I need to stop typing now, and let the experts do their work
Damn, that sucks massive throbbing balls.
Yeah Microsoft never gets their ass together to use the standard.
Direct X < Open GL
IE 8 < Firefox, and pretty much every other competition etc.
Active X, Silverlight < Java and others (Believe it or not, some countries, namely Korea, still uses Active X!)
docx > doc but seriously Microsoft? You have to make the default format for newer version of the product not compatible with the older version? Surely there is a "Save as" option but countless "normal" users wasted hours trying to open the xml versions.
Windows 98 >ME <2000 < XP > Vista < 7 Anybody see a pattern here? Microsoft, widespreads a bad standard, (MS Dos in the beginning) tries to build on it, fail, creates a new standard (NT), fails, work it up and resell the 0.1 version (XP was 5.1 7 is really a 6.1), and rinse and repeat.
Once in a while good stuff comes out, but before early adopters gets screwed.
You did it in one day?
I’ve been trying to get a grip of how btstacl works for a week now, and you go and do it in one day. You did your magic.
One thing though : many games use the wiimote held horizontally, so that the up and down buttons are mapped as left and right buttons, and the 1 and 2 buttons are A and B respectively. I’d say that is a lot more usable for emulators, it’s almost like a big nes controller
It’s good to see you still listen to your fan input…
This is fantastic Zod!
I absolutely cannot wait for the release! Any idea how long it will take?
Thrilled,
SpiralArms
Yes, it seems (from a quick web search) that the PS3 controller has to be configured for whom to contact to once, but other than that it should similiar to the WiiMote. This means, the PS3 has to be connected to a PC/MAC/Linux once, a little tool started where you would have to enter the MAC address of the iPhone before you can start playing. Anyway, I've ordered a PS3 controller yesterday.
This is awesome!!! But you should have it where you hold the wii remote horrizontally with the d-pad to the left and the 1 and 2 buttons on the right. Then the 1 and 2 buttons can be the A and B inputs and the A and B buttons on the wii remote can be the C and D inputs.
hehe nice research there, and i can't say i disagree ^^
Hehe you ordered a PS3 controller just for this? I really hope it's worth it and that it's possible!!
Hehe this is very nice Zod! Not that it's really useful when you're on a trip or something, but it's nice to show off with haha
Even if PS3 controllers don't work out, you'll have an awesome game pad for your PC! (assuming you have one)
: D
I've bought the WiiMote when it came out, and my only use so far has been for BTstack development/testing, and, the YouTube videos which got me serious attention, so why not get a new gadget?
And, if it works for PC (like in Microsoft Windows – and I've read on Linux, too), it will work on the iPhone, I'm sure about that. Nope, I rarely run Windows…
He just figured out that he can, he never used it before.
After you can use the wii/ps3 controller someone should make a clip so you can clip your iPod/iPhone to the top of the controller
Just another question, I highly doubt that it's possile, so that's why I'm asking:
is it possible to do the same with the PSP? (I mean using PSP as a controller)
Yes. I've bought a WiiMote when it came out and my only use for it was for BTstack testing (after lying around for 2 years) and finally for my YouTube videos, which got me serious attention, so why not get a new gadget now?
Hmm yeah I didn't really think of that one, that's pretty aweome indeed
If you are referring to the PSP Go!, maybe.. But the other PSP's don't have Bluetooth, just WiFi
The PS3 will only work if you have the bluetooth MAC address which you could get by plugging into your PC with the USB cable then you will probably have to type in the MAC address manually to sync the PS3 remote to the iPhone / iPod 2G+.
Anyway I have a PS3 and a Wii so I can use it either way. Dont like Microsoft at all
He can't charge it because mame team will be in his face.
Or you can connect the iPod/iPhone to your tv and use your wiimote to play the emulators.
If this ever appears on snes4iphone, I'll have to leave my old version and buy it :/.
Meanwhile, tell me Zod: if you implement both this and the new emulation core on psx4iphone, it will be a great performance increase, right? Just a doubt
I plan too do just that…
Oh yeah… and please release this for ALL of your emulators!
Zod, why don't you configure the controls for holding the Wii Remote horizontally? In the video, you hands look very cramped. If you held it sideways in the style of many platforming Wii games, it would be far more comfortable.
SpiralArms
You should've done it with horizontal support. It would have a better feel. Also, you should find a way to implement Classic Controller (WiiMote Attatchment) support, if it's available in the Stack.
Wow, that is an amazing idea! I never would've thought of that lol. I would just be sitting at my desk with a Wii Remote in my hand having the iPod leaning on my keyboard. If this is implemented into other emulators, I just might get the new TVOut landscape app.
You gonna make a tutorial for us right?
He just noticed that you can use it side ways.
Like again he just knew that the wii mote can be use sideways
And he should add support for the ps3 controller qwerty addon
and he smacked himself in the head :p
I haven't seen the video yet (youtube blocked at work) but definatley put the Dpad on the wiimote to the left and use 1 and 2 as A and B. Please release this super super soon! Whenever you do release this I'm donating money if I can
yeah….
Just wait and it MAY happen.
Actually, I didn't reasearch.
I "dislike" Microsoft and keep remind my self of their evil deeds
So where do I paypal the money to buy you a ps3 controller?
This is the best thing to happen to psx4iphone since the 3gs. 1st we get the speed to make it work, now real controls? w00t!
Keep up the good work zod, and we should all support the btstack people as well. They are doing great work as well!
Hi! Thanks for the kind encouragement. We convinced Matthias Ringwald of BTstack here to get a PS3 controller, as some work still needs to be done before if it can be supported. Assuming the work is a success I will need a PS3 controller. If you decide to donate for a PS3 controller, please leave a note so I know it's you and it goes towards the hardware. I accept donations via http://www.zodttd.com/wp/donate
Thanks!
I have a short question .. would it also be possible to use this in the other way round .. i men to use the iphone as a wiimote and play with it on your wii?
LOL yeah. I did just realize I could use it sideways. I got tons of odd looks from using it like that! I will fix this shortly so it will be used horizontally like a sane person would.
theoretically, yes. the iPhone has force feedback, bluetooth, accelerometers on 3 axis', a speaker, and a camera. Theoretically, there's no reason why one couldn't write an app to make the iPhone also function as WiiMote.
Man, that would be awesome.
Well, it's gonna be epic, but playing SNES with only two buttons? I really don't think holding the WiiMote upright is an option…
Once the ps3 controller's working, this is going to be epic.
A complete gaming console that plays NES, SNES, GBA, PSX, MAME, Gameboy, GameBoy Color, Genesis, and TurboGrafx16, all in your pocket(s)
Damn that's awesome.
What about to an iPod touch? Would it work for that or only the iPhone
?
You have enough buttons on the wiimote to do SNES… granted they're not in the same places…
That might be interesting… Do you think they could make a Daemon that runs in the background and maps the keyboard to keys on the iphone and maps button presses to specific spots on the screen?
Well remake a video with the wiimote the right way around
did that in May: http://www.youtube.com/watch?v=iXqw6WzGF00
If you use the wiimote on it's side rather than upright it might make controlling games alot more comfortable. Also i have a wireless Wii classic remote that would work brilliant for even the PSX (as it has enough buttons) so maby support for the classic controller may be a good idea?
You are out of luck if you have a 1st gen tough
It'll be on this forum somewhere forums.benheck.com
Yes but… can you start implementing the IR bar tracking which allows extremely precise pointing with the WiiMote on the iPhone? Other than that, probably, but… why would you want to throw your iPhone into your TV instead of the cheap, reliable, robust WiiMote. Plus: most Wiis come with one.
who wants a ICONTROL PAD if there is a possiblity to use Bluetooth? I want to charge my iphone while I play and I dont want to walk arround with a ugly thing where i have to put in my iphone. i just want to use a regular bluetooth controller! wiimote… whatever
heul doch net immer gleich, bub!
Hell, what do you think do people when they see you using this fucking little screen of an iPhone as a TV?
It's poor, just poor. Actually, it's not even needed. iControlPad (in the original PSP-like-design; not that bulky, ugly thing) is good, better than any Bluetooth controller.
Btw, what do you think how fast you'll have to charge using bluetooth controllers? Few minutes after you started playing, I'd say.
i second that, whatever this dude means ^^
da hat der basti aber recht heulsuse
Is this only for emulators, because that I don't use them as much. Also, would the iControlPad be certified by the Apple Store? As in, it would work with all the other games (e.g. COD).
The companies would have to implement it first.
Did anybody see the new nes4iphone? Still needs some fixes…
I mean output the iPhone screen TO THE TV. Not TV on the iPhone.
I will buy this in a heartbeat if it will sync with the Datel Wii Wireless Retro Controller. That'll be freaken sweet. Practically a SNES controller that's wireless.
Oooh just thought of the possibility of enabling 2 players if "the above post" works out.
What about using the Wii classic controller connected to the Wiimote? is that a possibility? Because then you'd get a lot more buttons for input……so not just NES
Damn Zod didn't I send you this Video http://www.youtube.com/watch?v=3FPHpMonoC8 a few weeks ago and you said it is not possible ???
So I see you only read your tweets clearly -.-
Anyway I'm looking forward to have this for GPSphone
ohmygodohmygodohmygod
yes, ZOD, please I, as in we, need wiimote support for gpsp. i will buy every offering you have twice over if you do. *drops pants*
A ps3 Controller would be nice.. I went out and bought a wiimote for the nes4iphone so i hope that mame gets a upgrade for this BTstack
Xbox360 sucks…..
You suck.
that would kick ass
Your cydia source doesn't seem to work with cydia for me, i entered:
http://www.zodttd.com/repo/cydia/
What's wrong?
The day I walk around with my iphone and a video out cord and all i have to do to fire up some old arcade game action with my friends is to grab some wiimotes… well, that'll be the day. PLEASE DON'T FORGET MULTIPLAYER MY MAN!
wow, that's cool, since iControlPad is taking centuries to come to reality…
I was wondering, I haven't researched about BTStack yet, but If you can make an iPhone/iTouch connect with a WiiMote, and now you can mod BTStack to connect with a PS3 Joystick, could you make it work with other bluetooth controllers?
For example something as cheap as this DX Joystick? (link bellow)
http://www.dealextreme.com/details.dx/sku.13760
Could I paypal you for some classic controller support (attachment for wiimote)?
i laugh at these comments. you guys crack me up.
"now do a 360 controller" hahahhaa. kids these days think wireless==wireless.
"tell me how you did it" bahahahhahaha
"you should use the remote sideways" lulz
i was actually thinking along the lines of having 2 accelerometer controllers. ie the wiimote and the phone. the phone could control the "game view"(remember compass) and the wiimote controls the "game interactor" ie a gun, etc.
fuxx yeah! copyright that one!
can u make a ds emulator with 2 iphone/ipod touch's screens
that would be greatly aprreciated
and also add wiimote to gba emulator
Any idea when this will be released? And if you do, please change the orientation of the Wiimote to be horizontal with joystick on the left and buttons on the right. If you want an idea of how this works, try the Gameboy emulator for iPhone – works fantastically well.
Dude this looks awesome. I agree with others that are saying PS3 controller will be awesome, but I also think that this could be epic on the iPad once it is released. I figure its the same freaking OS, hopefully all the good stuff like this will port right over.
please update for mc086bt version
This is awesome!!! But you should have it where you hold the wii remote horrizontally with the d-pad to the left and the 1 and 2 buttons on the right. Then the 1 and 2 buttons can be the A and B inputs and the A and B buttons on the wii remote can be the C and D inputs.
Cheap Mobile Phone
Exactly which BTStack supports this? And where Can I get it at?