Dolphin, the GameCube and Wii emulator - Forums

Full Version: Issues Mapping the Classic Controller's Analog to Keyboard/Gamecube
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I'm trying to play Wind Waker and thus I'd like to use a Classic controller.
I've successfully mapped all Buttons and the DPAD to Keyboard Keys which are set to GameCube Controller inputs, and this works fine.

I've also set the Left Stick to Mouse Inputs which are set to input as the GameCube Controller's Main Stick, this does read the inputs, however once the mouse reaches the side (end) of the screen you can no longer input in said direction.

Another issue is mapping the Classic Controller's Right Stick to the GameCube Controller's C-Stick, as I am unsure of how to code this.

Here are some screenshots of what I have done in Dolphin:
[Image: 528726_430980750292531_1203156290_n.jpg]
Here is a copy of my current code:
Quote:// A B X Y
key.z = classic1.a
key.x = classic1.b
key.a = classic1.x
key.s = classic1.y
// Z R L Start
key.space = classic1.zr
key.w = classic1.R
key.q = classic1.l
key.return = classic1.Plus
// DPAD Up Down Left Right
key.t = classic1.Up
key.g = classic.Left
key.h = classic.Right
key.f = classic.Down
// Main Stick Up Down Left Right
if classic1.leftstickx > .1
Mouse.x = mouse.x + classic1.leftstickx/100
end if
if classic1.leftstickx < -.1
Mouse.x = mouse.x + classic1.leftstickx/100
end if
if classic1.leftsticky > .1
mouse.y = mouse.y + classic1.leftsticky/100
end if
if classic1.leftsticky < -.1
mouse.y = mouse.y + classic1.leftsticky/100
end if

I know this may have already been answered, but I cannot find the thread, and I've already browsed at least 30 threads
I have GlovePIE, PPJoy and Dolphin 3.0-716-dirty installed.
If you are using GlovePIE (which it looks like you are), just use it in combination with PPJoy so you can map the classic controller to a virtual joystick. That will let you use correct sliders and such.

EDIT: WHY U NO USE PPJOY?!?

Read the turorial included with GlovePIE.
Alright thanks I'll try that.....

I may have more questions though, as I'm not entirely sure how to use/setup PPJoy and all that Axis, Buttons and POV stuff.
I'll try to upload the script I use when I have the chance.
That would help me a lot, thanks :D
*bump*
It has been 24 hours
edit: 24 hours + 7 minutes
24 hours?!? Oh my goodness! How can you live without proper analog controls for ONE WHOLE DAY AND 7 MINUTES?!? It must have been torture!

I actually do have a life outside of these forums. Yes, I know it is surprising, but I have only been home to *sleep* for the past 24 hours. So sorry if I wasn't able to help you. Most of my posts are on the go.

Anyway, I'm home now and should be going to sleep again, but making you wait for *gasp* another 12 hours is too much. Have a file that took me 8 seconds to write.

It should show the 2nd LED light on. If you have two classic controllers, the first player will have the 2nd on and the second the 3rd (I have a GC controller and 2 Classics, so my GC is the first player and the two classics come after that).

File --> http://www.mediafire.com/?luu3q6jqf39551b
I was just joking, hehe, but thanks so much.

You may be in a different timezone to me, so sorry, its 6pm here Tongue

Much Appreciated Smile
Ok, sorry about this, but I have no idea what I'm doing (clearly).

I've downloaded your script, but I haven't configured PPJoy or Dolphin (other than setting the GCPad device to 'SDL/0/PPJoy Virtual Joystick 1' [or is it supposed to be set to 'DInput/0/PPJoy Virtual Joystick 1'? I get two options for the one Virtual Joystick]).

I tried reading the documentation files in GlovePIE and PPJOY for some help but they made no sense to me.
I also tried looking around online again for some info, but I cant find anything, so I must request your help Axxer.
Open the script in GlovePIE and run it. Then try to connect your remote (just Hoo down 1&2). That should get it set up with only the second LED on on the remote.

As for the inputs in Dolphin, I don't remember. Just try both and figure out which on works.
Pages: 1 2