If var.dot1x 1 or (var.IRx > 1-0.1 and (not var.IRvis)) If wiimote.dot1vis and wiimote.dot2vis then if both dots are visible check which is which and how far apart Var.NoYawAllowed = true // Calculates X if no yaw is allowed, otherwise calculates Yaw but not X Var.SensorBarSeparation = 7.5 inches // distance between middles of two sensor bar dots Var.screenPortionHeight = Screen.Height/3 I had tweaks the cursor motions for the purpose of this script. I'm using Carl Kenner: "My best IR Mouse Script, with 5DOF Tracking" to handle the IR sensors. If (var.SmoothY * Screen.Height)= var.screenPortionHeight*2+(var.screenPortionHeight/2) then If (var.SmoothX * Screen.Width)>= var.screenPortionWidth and (var.SmoothX * Screen.Width)= var.screenPortionHeight and (var.SmoothY * Screen.Height)= var.screenPortionWidth+(var.screenPortionWidth/2) then but the middle is split again in four diagonals for more accuracy. We had split the screen in 9 portions, the firsts 8 are easy to assign, If (var.SmoothY * Screen.Height)= var.screenPortionHeight*2 then If (var.SmoothX * Screen.Width)= var.screenPortionWidth*2 then Indicate in which portion of the screen you aim with the virtual cursor. If Wiimote.A != true and Wiimote.B != true and var.active = true then If var.dir_down = true and var.prevX != "down" then If var.dir_up = true and var.prevX != "up" then If var.dir_right = true and var.prevY != "right" then
If var.dir_left = true and var.prevY != "left" then If Wiimote.A = true or Wiimote.B = true then Fire in the direction of your cursor in relation with the center of the screen. If you want to use the Classic controller, just make sure you have it plugged into the Wiimote before you press the "Sync" button.// To shot, aim the virtual cursor to one of the extremity of the screen and I tested it out on ePSXe, Gensoid, Gameboid and SNESoid. The lights will flash continuously on the Wiimote, but it works great.
First, will say "connecting to (MAC address of Wiimote)" Then it will say "pairing rejected", which is from the Bluetooth stack.įinally, it will say, "Connected to (MAC address of Wiimote)" You'll see 3 messages at the bottom of your screen. As soon the "Enter PIN" BOX pops up, Quickly press the Home button, then hit the "Bluez IME" shortcut on your home screen and immediately tap "Select IME" and click the "Bluez IME" input method. As soon as your Wiimote appears (Nintendo-RVL.) Click it.ĥ.
On your Wiimote, press the "Sync" button inside the battery coverĤ. Hit the menu button and click "Search for devices"ģ. Go to "Settings" -> "Bluetooth" (turn it on if it's off)Ģ. The sucky part is you have to do it each time you wanna connect your Wiimote.ġ.
You have about 10 seconds to do 3 seconds of inputs, so no biggie. The next step just requires a tiny bit of quick action. Now, that parts done and that's the only time you have to do it. Check the box for "Bluez IME" and click "OK" Hit "Select IME" then "Configure input methods"ĩ. Hit "Select Device Driver" and select "Wiimote (HID)"Ĩ. You should see something like "Nintendo-RVL-.". On your Wiimote, press the "Sync" button inside the battery coverĦ. Activate bluetooth (if its not already running)Ĥ.
Second, download and install the HID enablerĢ. Put a shortcut on your Home screen to make things easier later. I'm happy with how the phone is stock aside from this one issue (Bluetooth/Wiimote) because I loves my emulators.įirst, download and install Bluez IME. However, as a new Evo owner, I'm not quite ready to take the plunge just yet. For most here this is probably moot, since most are likely running custom roms that bypass the issue.