You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.



#1 2013-05-16 08:24:54

megarock1018
Member
Registered: 2013-05-16
Posts: 9

0.9.9 OSX gamepad issue

Just got the newest update today, im pretty excited, however....

While I was configuring my gamepad as per usual for some reason, DeSmuME kept recognizing that the Z-axis of my gamepad analog to be continuously pressed, even if its not! I tried it with the older version 0.9.8b and the gamepad worked just fine!

Now im having issues with using the older version, the touch screen wont respond! It recognizes the coordinates when I click on the touch screen,, but it does not work, with the new version the touch screen works just fine, minus the fact that it wont configure gamepad with analog properly... And I would prefer using my gamepad since its more convenient to play with your hands wrapped around a controller rather then on a keyboard,

Help please?

Offline

#2 2013-05-16 08:54:47

Squall Leonhart
Member
Registered: 2013-01-22
Posts: 115

Re: 0.9.9 OSX gamepad issue

reset your gamepads calibration in joy.cpl and recalibrate after assigning buttons in desmume.

Offline

#3 2013-05-16 08:58:05

megarock1018
Member
Registered: 2013-05-16
Posts: 9

Re: 0.9.9 OSX gamepad issue

Um... I feel like a noob asking but where exactly is the joy.cpl? I tried not to tinker around too much

Offline

#4 2013-05-16 10:16:32

megarock1018
Member
Registered: 2013-05-16
Posts: 9

Re: 0.9.9 OSX gamepad issue

Just to be clear, its on Mac OSX,

Offline

#5 2013-05-16 16:13:03

rogerman
Member
Registered: 2011-06-04
Posts: 373

Re: 0.9.9 OSX gamepad issue

There is no joy.cpl on OS X. That program is Windows-specific.

As for the Z-axis issue: It's definitely an issue with your gamepad. If your Z-axis control isn't reasonably centered on your gamepad, DeSmuME will detect the input as "on". To be specific, your Z-axis needs to be within the center third of its value range in order for DeSmuME to detect it as "off". Otherwise, the Z-axis input will continuously register.

If possible, try a different gamepad that also has a Z-axis control to see if the problem persists. If the problem goes away on the other gamepad, then it could be that your current gamepad is faulty.

Offline

#6 2013-05-17 01:41:14

megarock1018
Member
Registered: 2013-05-16
Posts: 9

Re: 0.9.9 OSX gamepad issue

But why is it that in the older version 0.9.8b it works just fine? I mean granted for some reason the touch screen doesnt work on it but the controller works fine with it, if all else fails, im going to have to use my old crappy controller that does not have analog..

Offline

#7 2013-05-17 01:59:33

megarock1018
Member
Registered: 2013-05-16
Posts: 9

Re: 0.9.9 OSX gamepad issue

Update: Even with another controller the issue still persists, when I try to configure the directional buttons, this time even with just a d-pad no analog, the same issue arises, though instead with the z-axis, it persists of going 'down' and for some reason, i cant configure the d pad to go right, or down, it configures up and left just fine as well as the other buttons, (logitech precision, old model but sturdy) like I said, it worked fine on the older version as stated above, but wont work properly in the new version... Maybe its a bug?

Offline

#8 2013-05-17 05:15:12

rogerman
Member
Registered: 2011-06-04
Posts: 373

Re: 0.9.9 OSX gamepad issue

What you're describing still points to a hardware failure in your gamepads, and not any bugs in DeSmuME. This is due to the fact that on your Logitech Precision, the D-Pad successfully assigns Up and Left, but fails to assign Right and Down. The code for assigning a D-Pad (or hatswitch control) is identical for all points on the hatswitch, so it's impossible for the software to successfully assign some points correctly and not others.

So when you use the Logitech Precision D-Pad to assign controls, exactly what inputs are being reported? This might help solve the mystery.

For example, if I were to use a Logitech Rumblepad 2 (one of my many gamepads) and assign the D-Pad, it can report the following:
Logitech Rumblepad 2 USB: Hatswitch - Up
Logitech Rumblepad 2 USB: Hatswitch - Down
Logitech Rumblepad 2 USB: Hatswitch - Left
Logitech Rumblepad 2 USB: Hatswitch - Right

Or if I were to use the left analog stick, it can report the following:
Logitech Rumblepad 2 USB: X
Logitech Rumblepad 2 USB: Y

Offline

#9 2013-05-17 06:37:20

megarock1018
Member
Registered: 2013-05-16
Posts: 9

Re: 0.9.9 OSX gamepad issue

I tried with two different controllers, one with analog, one without,

When I dont press anything it reports: Generic usb joystick: z

when I tilt the pad, it flickers Generic usb joystick: X/Y
it flickers only for a moment and returns to Z for some reason, I checked and tested it with a gamepad tester and it seems to be working alright, the joystick XY and Z all work fine,

When I tried it with another one, and tested it using the gamepad tester, it also works just fine, but when I try to configure it, the up and left work fine like the other gamepad, but for some reason, the right and down wont configure, like I said earlier,

Further proof that its not the fault of the controller, I used a third party software to test this out:
I keybinded the analog to the appropriate keyboard buttons then ran the game, and it works just fine!

Though I would prefer it if I could configure it in DeSmuME rather then using a 3rd party program to keybind the controller to keyboard keys....

Offline

#10 2013-05-17 07:32:54

rogerman
Member
Registered: 2011-06-04
Posts: 373

Re: 0.9.9 OSX gamepad issue

But what inputs are reported for your Logitech Precision D-Pad? This is an extremely important point that I need to troubleshoot this.

Offline

#11 2013-05-17 09:05:34

megarock1018
Member
Registered: 2013-05-16
Posts: 9

Re: 0.9.9 OSX gamepad issue

Logitech(R) Precision (TM) Gamepad: X
Logitech(R) Precision (TM) Gamepad: Y

But just so you know, the buttons work fine, its just the XY thing that's having problems

Offline

#12 2013-05-17 16:43:07

rogerman
Member
Registered: 2011-06-04
Posts: 373

Re: 0.9.9 OSX gamepad issue

Ah, that's the info I needed. I thought that your Logitech Precision D-Pad was a hatswitch input, but it's using an analog input. That makes a lot more sense. This may very well be a bug in the analog input, so I'll look at it.

Offline

#13 2013-05-17 17:23:13

rogerman
Member
Registered: 2011-06-04
Posts: 373

Re: 0.9.9 OSX gamepad issue

Okay, there was a bug introduced in v0.9.9 for analog inputs. Specifically, analog inputs in the upper value range failed to register the off-state. That's why the Logitech Precision D-Pad worked with Up and Left (which are in the lower value range) and failed to work with Down and Right (which are in the upper value range).

This bug is fixed in r4646. Thanks for the report.

Last edited by rogerman (2013-05-17 17:23:29)

Offline

#14 2013-05-17 23:56:00

Squall Leonhart
Member
Registered: 2013-01-22
Posts: 115

Re: 0.9.9 OSX gamepad issue

and next time megarock, please mention your OS in the opening post wink

Offline

#15 2013-05-18 00:02:15

megarock1018
Member
Registered: 2013-05-16
Posts: 9

Re: 0.9.9 OSX gamepad issue

Thank you rogerman! I thought i was going insane! Just a question, when will the bugfix version be released? I dont mind waiting, just curious,

Oh and squall, just saying, but I did type 'OSX gamepad issue' as the title, but perhaps I should have said Mac OSX instead of just OSX, i'll keep it in mind ^^

Offline

#16 2013-05-18 02:13:06

rogerman
Member
Registered: 2011-06-04
Posts: 373

Re: 0.9.9 OSX gamepad issue

Usually, bugfixes are rolled into the next release. However, if there is a critical bug that needs fixing, then we might backport those bugfixes and re-release the current version. Right now, v0.9.9 is still fairly new, so I'm still waiting for more user feedback before considering a re-release.

In v0.9.9, there haven't been any critical bugs found yet, but there have been a few minor bugs that have already been fixed.  So if there are enough minor bugs to warrant re-releasing v0.9.9, or if any critical bug is found, you can expect this analog input fix to be included in that release.

Offline

#17 2013-05-18 03:04:36

megarock1018
Member
Registered: 2013-05-16
Posts: 9

Re: 0.9.9 OSX gamepad issue

Thanks so much! I'll be waiting patiently for it, till then im going to use the third party program to keybind it so I can play, KH here I come~

Offline

#18 2013-05-27 19:12:28

benji138
Member
Registered: 2013-05-27
Posts: 1

Re: 0.9.9 OSX gamepad issue

Hey rogerman, I just wanted to report that I'm having the same issue as megarock with my (incredibly old) Gravis Gamepad Pro. My down and right d-pad buttons aren't mapping but my up and left are.

Inputs are registering as follows:
Up -  GamePad Pro USB: Y
Left - GamePad Pro USB: X

I know you said you already fixed the problem, but I just wanted to let you know that I'm having the same issue. 0.9.8. for OSX worked just fine.

Thanks for your hard work!

Offline

#19 2013-06-11 23:42:59

deadlydragon218
Member
Registered: 2013-06-11
Posts: 3

Re: 0.9.9 OSX gamepad issue

just wish to say that i am having this issue as well in mac osx 10.7 lion i am using a logitech dual action and i cant map the down/right analog keys also when it was mapped from a previous version it seemed as if the left/up analog were being pressed dwon when they werent it wasnt doing this in 9.8 so it isnt a problem with my gamepad. also  in version 9.8 i can't use my mouse to use the touch screen it shows that i clicked but the game doesnt register it as doing so. i appreciate your guys hard work and hope to see an update for this soon! thanks for bringing us mac users something great!

Last edited by deadlydragon218 (2013-06-11 23:51:30)

Offline

#20 2013-10-27 20:01:47

Orchid
Member
Registered: 2013-10-27
Posts: 1

Re: 0.9.9 OSX gamepad issue

I also have this problem, the exact same problem, and just installed maverick today, everything else seems okay though. smile

Last edited by Orchid (2013-10-27 21:02:18)

Offline

Board footer

Powered by FluxBB