• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Controllers v
« Previous 1 ... 264 265 266 267 268 ... 319 Next »

How I got an original wiimote to stay connected to dolphin
View New Posts | View Today's Posts

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
How I got an original wiimote to stay connected to dolphin
06-10-2012, 10:52 AM
#1
tpaul
Unregistered
 
I finally got a wiimote to stay connected to dolphin!!

I used an Iogear GBU321 usb Bluetooth adapter (read that it had good compatibility), and an OLD original wiimote (my cousin bought a Wii the first year it came out, and we traded wiimotes). I paired the wiimote through windows, and installed the Bluetooth adapter with the default windows 7 drivers.
So, far it seems that any nunchuck will work with it.

In windows its seen as "Nintendo RVL-CNT-01", the version of Dolphin I'm using is v3.0-458 (32-bit).

The ONLY other way that keeps other types of wiimotes connected is if you use glovepie.

Also, I use the Duracell wireless IR sensor bar (it charges via USB)

Here is the script that I used with Glovepie to connect 3rd-party controllers:

// BUTTONS
Mouse.LeftButton = wiimote.A
Mouse.RightButton = wiimote.B
Key.One = wiimote.One
Key.Two = wiimote.Two
Key.Q = wiimote.Minus
Key.E = wiimote.Plus
Key.Enter = wiimote.Home
Key.N = wiimote.shake
Key.N = Wiimote.One and wiimote.Two
Key.Five = wiimote.SwingVertical
Key.Seven = Wiimote.SwingHorizontal
Key.Eight = Wiimote.SwingHorizontal or wiimote.Shake
Key.Nine = Wiimote.Shake or wiimote.Stabbing


// Nunchuk
If Wiimote.Hasnunchuck
Key.Ctrl = nunchuck.C
key.Shift = nunchuck.Z
key.W = nunchuck.Up
key.S = nunchuck.Down
key.A = nunchuck.Left
key.D = nunchuck.Right
key.Zero = nunchuck.Shake or nunchuck.Stabbing
//Key.W = (-1.2 < wiimote.Nunchuk.JoyY < -0.5)
//Key.S = (0.5 < wiimote.Nunchuk.JoyY < 1.2)
//Key.A = (-1.2 < wiimote.Nunchuk.JoyX < -0.5)
//Key.D = (0.5 < wiimote.Nunchuk.JoyX < 1.2)
end if


// D PAD
key.Up = wiimote.Up
key.Down = wiimote.Down
key.Left = wiimote.Left
key.Right = wiimote.Right


// Mouse movement or IR
if wiimote.PointerVisible but not var.PointerBump then
mouse.x = wiimote.PointerX
mouse.y = wiimote.PointerY
end if

//Rumble
Wiimote.Rumble = Wiimote.One and wiimote.Two



//How to use this script:

//Open Emulator (Dolphin-x64v3.0-458 was most tested).

//Choose emulated wiimote, disable wiimote motor, and click "default" to use the default keys for keyboard/mouse,
//But change:

//SHAKE
//(x,y,z) use "M,N,M" keys. Set threshold as 10.

//SWING
//keys "up,down,left,right,forward" as "5,6,7,8,9".


//Use Nunchuck Defaults, except for:

//SWING
//"forward" as "0"
//In the nunchuck settings, set "deadzone" and "squarestick" values both to 3.

//Give the Profile a Name (eg. glovepie) and save.


//This script was created by other people, I just patched it together, and added some stuff Wink
//This script works for wii games that require you hold the wiimote upright (with or without the nunchuck connected), eg.super Mario galaxy, Rayman Origins, etc.
//What works=All buttons,IR pointer,wiimote shake,swing,stab. (Wiisports is not compatible though)
//Tilt is not supported.
//tpaulj4/tpaul_2012

Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode