Project

General

Profile

Actions

Emulator Issues #2144

closed

(A) Unable to map R and L buttons on gamepad. (B) Also cannot map analog sticks

Added by lawrence29reyome over 14 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What steps will reproduce the problem?

  1. (A)Open up GCPad settings menu
  2. (A)Attempt to configure analog sticks in lower subsections of dialogue
    window and watch it fail and time out
  3. (B)Start a game and watch R and L not respond in game

What is the expected output? What do you see instead?

Please use labels and text to provide additional information.
What option should you use in the Triggers subsection to get R and L to work
properly?

Actions #1

Updated by marcel.werner3 over 14 years ago

yeah, that definately worked (and looked) better in nJoy plugin.

Actions #2

Updated by death2droid over 14 years ago

  • Status changed from New to Accepted

Yeah i have the same problem with R and L there mapped and everything but they just
won't work in game and for some odd reason when i move one of the analog sticks it
thinks L or R has being pressed

Actions #3

Updated by ayuanx over 14 years ago

SDL? XInput?
What are the indices of the mapped axes and triggers?

Actions #4

Updated by death2droid over 14 years ago

Well I'm using SDL it may also help note that I'm using an old converted xbox
controller with the XBCD drivers.
I'm not quite sure what you mean by indices but here are my settings for GCPad and XBCD

Actions #5

Updated by death2droid over 14 years ago

Because my controller is from the old xbox it won't work that way since it doesn't
use xinput fully so the trigger won't map that way.

Actions #6

Updated by btjamim over 14 years ago

You can mapp them using triggers if you change the Triggers Source to Xinput not SDL.
and choose the source to be triggers not Analog1. think the reson when use the
analog1 it think the R and L has been pressed is because you have the source set to
analog1. I use Analog 1 for main stick Analog2 for Cstick, and Triggers for Triggers.

Actions #7

Updated by btjamim over 14 years ago

"Because my controller is from the old xbox it won't work that way since it doesn't
use xinput fully so the trigger won't map that way."

oh I see. Sory i kept editing what i wanted to say.

Actions #8

Updated by death2droid over 14 years ago

Still can't get the triggers to work properly under SDL

Actions #9

Updated by ayuanx over 14 years ago

@death2droid, hoho, did you noticed that you had chosen "Analog1" as source of main
stick and C-stick and trigger?

Actions #10

Updated by death2droid over 14 years ago

Yeah I've fixed that up :)
But the triggers will still not work properly it shows in the trigger status that it
works and everything but in game it just won't..

Actions #11

Updated by ayuanx over 14 years ago

Could you post a screen just like the above one when you hold down both your triggers?

Actions #12

Updated by death2droid over 14 years ago

Here you go.

Actions #13

Updated by ayuanx over 14 years ago

OK, I get it, the neutrall value of trigger on your pad is 127, the range is from 127
to 0.

On a gamecube pad, trigger neutral value is 0, and the range is from 0 to 255(fully
hold down).

Actions #14

Updated by death2droid over 14 years ago

Gah how am i going to fix that :(
EDIT:
Oh yeah the range is actually from 0 to 255 but for some odd reason the neutral value
if 127, might be because you can make it add or decrease the axis

Actions #15

Updated by death2droid over 14 years ago

is*

Actions #16

Updated by ayuanx over 14 years ago

I think I can do something on this.

Actions #17

Updated by death2droid over 14 years ago

Ok cool.

Actions #18

Updated by ayuanx over 14 years ago

  • Status changed from Accepted to Fixed

Fixed in r4963

Actions

Also available in: Atom PDF