Main > Main Forum
Its time to give back...beginning work on Wiimote Driver
wbassett:
merhmann I finally got all my gear and tried some testing, and it seems to be okay for moving the mouse around but was a bit sporadic for me. I did find when I stepped back a bit it seemed to get better but still wasn't tracking exactly where I was pointing... but much better than a Gyration Gryotransport air mouse. This was also with a basic GlovePie script too, that also wouldn't work with Mame... useless I know, but I'm trying to get a feel for how well this will work.
I know you're doing a lot and being smart by working from the ground up and building a good foundation... once you get a basic driver working, (GlovePie seems to work okay, but it's a two or more step process and not something everyone would want to do... Anyway, eventually we need some sort of tracking and calibration option as well as a driver.
Silver:
Few comments, forgive me if I repeat anything, I skimmed the thread slightly....
1. Give up on adding wiimote support directly into mame - HID mouse or analog joystick drivers are your only longterm options (looks like you are heading here anyway). Such code would not be accepted into mame...
2. Why is glovepie not a viable solution? Is it program overhead? lag?
[youtube]http://www.youtube.com/watch?v=fd5Kai8PPHo[/youtube]
3. A few comments on here about having to stand way back from the monitor when using Topguns/Wiimotes. All you need to do here is move the LED sources closer together inside the "sensor" bars (or just use any 2 LED sources). This can be successfully done to allow use very close to screens, e.g. laptops.
e.g. In the Wii "sensor" bar, 2 LED sources are around 7.5" apart. Moving them to around 4.5" apart should allow you to get about 1foot from the screen with accuarcy.
See: http://www.engadget.com/2007/01/31/how-to-make-a-wii-laptop-part-2/ and look for section "Modifying the sensor bar"
wbassett:
Silver I don't have any personal issues with using GlovePie, I just haven't found the right script yet.
It's more of looking for a solution that's very easy to implement for even someone that has no programming skills (like me, my skills are very limited in that area) or people that are only comfortable with a plug and play solution.
From what I have heard from others, yeah GlovePie does add some overhead, but how much I don't know. I have seen some people that wrote scripts that incorporate Wii mote calibration, but they state that the scripts don't work as a mouse input and won't work with any games that require or use that. So I don't know if the script will work or not, but perhaps the calibration routine can be incorporated into a different script. Again, I don't know if that's feasable or not.
Scubaduba:
gl.tter your work is great. Thanks a lot man. I have few questions:
* Do you plan to release Gun Frenzy 2?
* What is the algorithm to correctly map cursor position on screen? You use 2 IR LED references or 4? (Couldn't see it on Gunfrenzy video) I'd ilke to work with that on .Net and XNA. Yours looks quite accurate, isn't it? Even if you can point me some sources on maths behind that I'd appreciate.
Thanks
padstack:
Hopefully I dont' derail this. but I don't understand why this particualr scenario won't work:
Wiimote stationed over the TV. rig up an old Nintendo Zapper (just to keep the brands the same! :P) with a peice of the reflective tape at the tip and hack a wireless mouse to record a "click" when the trigger is fired.
Does that have any credibility at all for a start? I'm basically using the video from Johnny Lee where he uses IR reflective tape on his fingers to track them in midair. I know I'm leaving something out, but it's late for me! LOL! The video can be foudn here: http://www.cs.cmu.edu/~johnny/projects/wii/ (first video) Feel free to be brutally honest b/c I'm not the sharpest tool in the shed on some of this stuff, but it could have potential.
Thoughts?