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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › General Discussion v
« Previous 1 ... 151 152 153 154 155 ... 357 Next »

[Guide]Use your WiiMote as GameCube controller (UNOFFICIAL)
View New Posts | View Today's Posts

Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
[Guide]Use your WiiMote as GameCube controller (UNOFFICIAL)
03-27-2010, 07:41 AM (This post was last modified: 07-11-2013, 05:21 PM by Starscream.)
#1
matejdro Offline
Member
***
Posts: 125
Threads: 18
Joined: Jan 2010
This guide will describe in steps how to use your wiimote as gamecube controller.

Peograms, you will need: (google it, all is freeware)
- PPJoy
- GlovePie

1. Creating Virtual Gamecube controller

First we will need to create virtual gamecube controller to link it with our wiimote and use it for programs.

1. Install PPJoy

2. Go to Control Panel and open Parallel port joysticks.

3. PPJoy window should open. Click "Add..." Button

4. Now we are going to create controller. Enter settings according to image
[Image: 0.png]
Pay attention to controller number if you want to use more controllers. At each new controller increase it.

5. Confirm with "Add" Button. Windows should start installing drivers now. If it wizard will ask it for drivers, point it to "C:\Program Files\PPJoy Joystick Driver". Wait until drivers are finished installing.

6. Now we are going to set up our controller properties. Click on your newly created controller in main PPJoy window and click "Maping..."

7. In new window select "Set a custom mapping for this controller" and click "Next >"
[Image: 2.png]

8. GameCube controller have 4 axes (horizontal and vertical axis for each of analog pad), 12 buttons (including D-pad) and 1 POV hat which represent D-Pad. Set up options acoording to the image and click "Next >".
[Image: 3.png]

9. Axes on our virtual controller are called AnalogX (X = number). These names will be important at assigning wiimote to that controller, so remember them. Set options according to the image and click "Next >".
[Image: 4.png]

10. This screen is similar to previous except we are setting buttons named "DigitalX", not axes. Set options according to the image and click "Next >".
[Image: 5.png]

11. Here set up buttons, which will be used as D-pad. I have Digital 0-3, but it dont matter which ones you use. Set these, Click "Next >" and confirm settings.
"[Image: 6.png]

12. Our controller is now created. If you wish, you can open game controller settings in control panel and check it. Nothing moves yet, but you can check if you done it right. NOTE: for some reason windows displays only 1 analog pad instead of 2. It's a bug in PPJoy driver, maybe it will be resolved in future versions.

2. Assigning WiiMote to our new controller

So we have virtual GameCube controller. But now it's just dummy piece of virtual plastic. We need to assign wiimote to that controller to make it work. We will use app called GlovePie.

In this guide we will use scripting. Maybe lots of you see scripting as hard, but GlovePie have very simple scripting.

Assigning Button
Assigning virtual remote button to Wiimote in GlovePie is very simple. For example type this in GlovePie window (without quotes): "PPJoy1.Digital0 = Wiimote1.A"

Above snippet means that when you press A button on wiimote 1, it will press Digital0 Button on Virtual Controller 1. To add more assignments, just copy example code to a new line and change parameters.

NOTE:
Buttons 1, 2, -, + and wiimote are defined as words and not as actual characters (you need to type Wiimote1.two instead of Wiimote1.2)

TIP: If you are running out of buttons on wiimote, you can assign gestures like shake ("PPJoy1.Digital0 = Wiimote1.Shake"). You can get full list of gestures in documentation.rtf file, which is included with GlovePie.

TIP:
You can also assign wiimote buttons to keyboard, to maximize compatibility with other programs. Folowing code will bind Wiimote 1 button A to keyboard key A: "Keyboard.A = Wiimote1.A"
Assigning Analog Sticks
Assigning analog sticks is same as assigning buttons, with minor change. Because wiimote dont have any analog sticks, you can either use nunchuck one (Nunchuck1.StickY, Nunchuck1.StickY) or use motion gestures like pitch or roll. Folowing code would assign horizontal axis of analog stick to wiimote's pitch: "PPJoy1.Analog0 = Wiimote1.Pitch".

TIP: Above code can result in large jitter of analog stick. You can reduce it by dividing pitch output: "PPJoy1.Analog0 = Wiimote1.Pitch / 2". Remember, increasing value divided by will lower jitter and sensitivity.

Here if example of code with 1 analog stick and 2 buttons assigned:
[Image: 7.png]

After you are finished with scripting, save your script and click play button. If everything went correctly, your controller should be working now. Go to control panel --> game controllers and test it out. If its working, just assign it to Dolphin like regular controller. If is not, post comment and we will try to fix it

Happy Wiimote Gamecubing Smile
Intel Core i7 2600K 2.8Ghz
Nvidia Geforce 570GTX
8GB RAM DDR5
Belkin F8T017 Bluetooth dongle with WIDCOMM stack
OS: Windows XP

Star this issue: http://code.google.com/p/dolphin-emu/issues/detail?id=4833

3rd party wiimotes and nunchunks, original motion plus.
Find
Reply
03-28-2010, 11:27 AM
#2
bobaka Offline
Banned
Posts: 20
Threads: 1
Joined: Feb 2010
And a link for Wiimote on PC : http://wiinput.com/
Find
Reply
03-30-2010, 12:50 AM (This post was last modified: 03-30-2010, 01:22 AM by matejdro.)
#3
matejdro Offline
Member
***
Posts: 125
Threads: 18
Joined: Jan 2010
That app may be simpler to use, but GlovePie is much more advanced with nunchuck pitch/roll, motion plus support etc.
Intel Core i7 2600K 2.8Ghz
Nvidia Geforce 570GTX
8GB RAM DDR5
Belkin F8T017 Bluetooth dongle with WIDCOMM stack
OS: Windows XP

Star this issue: http://code.google.com/p/dolphin-emu/issues/detail?id=4833

3rd party wiimotes and nunchunks, original motion plus.
Find
Reply
03-30-2010, 12:58 AM
#4
admin89 Offline
Overclocker™ ✓ᵛᵉʳᶦᶠᶦᵉᵈ
*******
Posts: 6,894
Threads: 127
Joined: Nov 2009
Uhm,can you make "wiimote mouse for window" with windows 7 x64 support,I have fail and only make it run on XP.It really cool if your pc being controlled by a wii remote
Laptop: (Show Spoiler)
Clevo W230SS : 3200x1800 IPS | i7 4700MQ @ 3.6GHz (Intel XTU + Triple fan mod) | GTX 860M GDDR5 | 128GB Toshiba CFD SSD | 16GB DDR3L 1600MHz
Acer v5-573G : 1080p LED |  i5 4200U @ 2.3GHz | Nvidia GT 750M 4GB | 128GB Toshiba SSD  | 12GB DDR3 1600MHz 
Mini PC :: (Show Spoiler)
G3258 @ 4.6GHz | ELSA GTX 750 | Asrock Z87E ITX | 600W SFX 80+ Gold Silverstone + SG06-LITE | Corsair Vengeance 8GB 2000MHz | Scythe Kozuti + Ao Kaze | 25TB 2.5" Ex HDD (in total) , Zelda Gold Wiimote , LE Wii Classic Controller , Gold LE PS3 DualShock , BlackWidow Chroma ,
Now Playing : Xenoblade Definitive Edition on Yuzu - Switch Emu 

 
Find
Reply
03-30-2010, 01:23 AM
#5
matejdro Offline
Member
***
Posts: 125
Threads: 18
Joined: Jan 2010
I've been using it on XP because there is no working stack on 7 for me. But it should work.
Intel Core i7 2600K 2.8Ghz
Nvidia Geforce 570GTX
8GB RAM DDR5
Belkin F8T017 Bluetooth dongle with WIDCOMM stack
OS: Windows XP

Star this issue: http://code.google.com/p/dolphin-emu/issues/detail?id=4833

3rd party wiimotes and nunchunks, original motion plus.
Find
Reply
06-30-2010, 10:44 AM
#6
cstryon Offline
Junior Member
**
Posts: 35
Threads: 4
Joined: Aug 2009
Hate to bring up an old thread, but I can't get the nunchuk to work with ppjoy and glovepie. All the buttons on the wiimote work, doing as you have shown.
Here is my script for glovepie

PPJoy1.Analog0 = (Wiimote1.Nunchuk.JoyX*1)
PPJoy1.Analog1 = (Wiimote1.Nunchuk.JoyY*1)
PPJoy1.Analog2 = (Wiimote1.Nunchuk.JoyX*1)
PPJoy1.Analog3 = (Wiimote1.Nunchuk.JoyY*1)

PPJoy1.Digital0 = Wiimote1.Up
PPJoy1.Digital1 = Wiimote1.Right
PPJoy1.Digital2 = Wiimote1.Left
PPJoy1.Digital3 = Wiimote1.Down

PPJoy1.Digital4 = Wiimote1.A
PPJoy1.Digital5 = Wiimote1.B

PPJoy1.Digital6 = Wiimote1.Minus
PPJoy1.Digital7 = Wiimote1.Home
PPJoy1.Digital8 = Wiimote1.Plus
PPJoy1.Digital9 = Wiimote1.One
PPJoy1.Digital10 = Wiimote1.Two

PPJoy1.Digital11 = Wiimote1.Nunchuk.CButton
PPJoy1.Digital12 = Wiimote1.Nunchuk.ZButton
Intel i7 3770k 3.8G OC to 4.2G
16 Gigs DDR3 RAM
GeForce GTX 660 with 3Gig DDR3 Video Memory
Windows 8.1 64 Bit
Find
Reply
07-11-2013, 05:00 PM
#7
hmubaidshera
Unregistered
 
SIR! Pics r not display Sad plz fix them. thank u
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