Nov 8, 2009

Wiimote For Your Computer - wiiMote is actually blueTooth

free web hosting
Open Discussion > The Gaming Zone (7Gears.com) > Gamers Arena

Wiimote For Your Computer - wiiMote is actually blueTooth

hippiman
If you haven't heard already, if you have a blueTooth adapter and a Wii Remote(wiiMote), then you can use the wiiMote with your computer. There's a lot of software that people have made for it:

First of all, glovePIE is the best thing I've found so far. It lets you emulate other controllers, the keyboard, or even midi sounds and stuff. All you have to do is open a script(or make your own(there's even a GUI to help make them)) and it starts emulating. There's a script to control the mouse, there's one to play virtual drums, there are a lot of them to emulate stuff for n64 games(if you have your own emulator, it just does the controller), and there are a lot more. There's a video somewhere on youTube that shows someone playing with a Zelda Ocarina of Time with a wiiMote on their computer. I've written my own to play games from vNes.com:

CODE
// http://www.virtualnes.com/play/play.php?id=A333&s=10
// rotate and stuff for arrows, A and B are A and B
// + is start, - is Select
// Show wiimote forces
//debug = "X="+Wiimote.RawForceX+' Y='+Wiimote.RawForceY+' Z='+Wiimote.RawForceZ
//debug = Key.Right + " " + Key.Left
var.Batt = wiimote.Battery / 48

//it sends an instruction that tells the Wiimote to actually
//send the report.
Wiimote.Report15 = 0x80 | Int(wiimote.Rumble)
end if

//Display the battery level of your wiimote using the four LEDs on the bottom.
//Battery level is displayed in four levels increasing to the right, like a cell
//phone battery gauge. As the battery gets close to the next level down, the LED
//for the current level will blink.

//Blink rate
var.Blink = 500ms

debug = "Battery level: " + 100*48*var.Batt/192 + "%"

if 0<=var.Batt<=0.25 then
Wiimote.Leds = 1
wait var.Blink
Wiimote.Leds = 0
wait var.Blink
elseif 0.25 < var.Batt<=1 then
Wiimote.Leds = 1
elseif 1 < var.Batt<=1.25 then
Wiimote.Leds = 3
wait var.Blink
Wiimote.Leds = 1
wait var.Blink
elseif 1.25 < var.Batt<=2 then
Wiimote.Leds = 3
elseif 2 < var.Batt<=2.25 then
Wiimote.Leds = 7
wait var.Blink
Wiimote.Leds = 3
wait var.Blink
elseif 2.25 < var.Batt<=3 then
Wiimote.Leds = 7
elseif 3 < var.Batt<=3.25 then
Wiimote.Leds = 15
wait var.Blink
Wiimote.Leds = 7
wait var.Blink
elseif 3.25 < var.Batt<=4 then
Wiimote.Leds = 15
else
Wiimote.Leds = 0
endif

// set these to the offsets when the wiimote is at rest
// will be different for each wiimote most likely
var.x = Wiimote.RawForceX +12 //trim to 0
//var.y = Wiimote.RawForceY -37 // trim to 0
var.z = Wiimote.RawForceZ +12 //trim to 0

Key.Left=var.x > 12
Key.Right=var.x < -3
Key.Up=var.z > 5
Key.Down=var.z < -5
Key.Z = WiiMote.B
Key.X = WiiMote.A
Key.Enter= WiiMote.Plus
Key.Shift= WiiMote.Minus


It shows you the battery power and the arrows are when you rotate it and A and B are the wiiMote's A and B. All you should have to do is copy and paste it into glovePIE. I used some of the code from the script that lets you control the mouse with the controller, and the battery thing is all from a file that comes with glovePIE, but it works.

Also, there's a cool thing out called wiiFlash.
It's a little program that sends all of the info from the wiiMote to flash, so you can make Flash games for it. They have a bunch of demos on their home page, and it's really fast. Their page is kind of slow sometimes, but what they have is worth the wait. I posted in another section a while ago about the wiiFlash API, because I didn't know how to use it, but I found out that I just needed something with actionScript 3.0, so I got Flash CS3.

I was hoping the wiiFlash thing would work with the console, but I guess it doesn't really matter now, because I bought a blueToot adapter.

Well, if anyone has a wiiMote and blueTooth, then try it out! It's pretty sweet. Also, if you don't want to mess with your sensor bar, you can use 2 candles instead of it, or anything else that gives off infrared.

I'd appreciate feedback and I'll answer any questions if I can figure them out.
smile.gif xd.gif

 

 

 


Comment/Reply (w/o sign-up)

t3jem
I actually saw this a couple moths ago. I was really looking into the wiiflash, but my computer doesn't have bluetooth. Instead I found that you can use javascript with the wii (go to the wii.nintendo.com faq). I havn't quite gotten into programming for it yet, i'm mainly waiting for wiiware to come out, but i can do the javascript thing when i get more time.

Comment/Reply (w/o sign-up)

fffanatics
Actually, one of my research partners has linked his Wiimote to his computer using bluetooth and has it simulate drums. He links 3 different remotes, one for each hand and 1 for his foot, and you use a typical drum motion and it will register and play the appropriate sound. Also, he has wriitten code to use the Wiimote as a mouse on your computer but you have to have the LED strip or else you dont get any positioning information from it.

Comment/Reply (w/o sign-up)

xXsyreXx
Thats pretty cool, I remember watching a video on how to play world of warcraft with your wiimote and it was pretty awesome laugh.gif Can you believe how far technology has come today? Allowing wiimotes on your comp is pretty awesome. -Wonders if i could play gw with it even though i'm a wow fanatic-

Comment/Reply (w/o sign-up)

enderforce
I have done a little with wiimotes and bluetooth, it's cool. Here are some amazing things you can do with it: http://johnnylee.net/projects/wii/.

Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : Wiimote Computer Wiimote Bluetooth

  1. Video/computer Game Cliches - (22)
    Alrighty, I saw this one on another forum and thought it would be fun to do here. Post up some of
    the biggest cliches in gaming today that you can think of. I'll start off with a bunch: World
    War I and II -- The number of World War games has gotten utterly ridiculous lately. I mean, I do
    enjoy a good run of Battlefield, but it's kind of annoying to see 40 different World War games
    to pick and choose from these days. I was just visiting GameFAQs.com and saw an ad for Company of
    Heroes, which, you guessed it, is a World War 2 game. Infinite/Many Lives -- Gam...
  2. Any Free Game Server Hosting, Or Is My Computer Good Enough. - Asking if anyone knows any good server hosters, or if i could just do (3)
  3. Capture Video From Tv And Put It On Computer? - (7)
    I just bought Halo 2 for the second time, I sold all my xbox stuff 6 months ago to prepare for 360,
    because there are no good games coming out till November. So I always though it was cool when
    those people made videos of sick kills in Halo 2 or on any console game. I have a top of the line TV
    with all the bells and whistles, but how do I get the video on my TV saved on the computer? I am
    thinking that there is something that you can plug in the VGA slot from my laptop and connect it to
    the VGA slot on the TV or something of that sort, but that may be the wrong w...
  4. What Is Your Favorite Online Game - Can Be For Computer or A Game Console (39)
    What is your favorite online game and why. If you have more than one favorite game post more than
    one. I'll post my favority game: My favorite online game is Runescape. Its very fun and easy
    to understand. Runescape is rather competative, which also makes a good online game. Also they
    update it alot so when you get bored there is something else to do....
  5. Cheap Computer To Play Hl2 - (6)
    what kinda of GPU and CPU do i need to run HL2 and CSS smoothly? andrescasta...
  6. So I'm Looking Through My Old Computer... - (5)
    Removed I come across a vid of some guy playing Doom 3 in the dark. Don't know if anyone has
    seen it but here is the link . I garantee tears of laughter. Gotta admit I was too scared to play
    it to the end. Plus I had EVE distracting me. Linky to their website for more videos. Removed
    first line. Questionable content ...
  7. Ps3 Super Computer? - (4)
    QUOTE The microchip that will live at the heart of the PlayStation 3 games console will be
    unveiled today in California. Developed by Sony, IBM and Toshiba, the Cell processor has been called
    a “supercomputer on a chip” because of the way it manages its computing power.     Whereas most
    existing microchips contain several cores that all work on the same task, the new chip is divided
    into entirely separate “cells” that can work independently on different tasks.     What this means
    in practice is that computers linked together in a network can borrow unused processin...
  8. What Computer Company Better? - (11)
    Blizzard - it's the best company, not so?...



Looking for wiimote, computer, wiimote, bluetooth

Searching Video's for wiimote, computer, wiimote, bluetooth
See Also,
advertisement


Wiimote For Your Computer - wiiMote is actually blueTooth

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com