Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Xbox 360 Controller #50

Open
NumanTF2 opened this issue Jan 7, 2025 · 0 comments
Open

Suggestion: Xbox 360 Controller #50

NumanTF2 opened this issue Jan 7, 2025 · 0 comments

Comments

@NumanTF2
Copy link

NumanTF2 commented Jan 7, 2025

there is already a fork of nintendont that works with the 360 wired controller perfectly fine.
https://github.com/revvv/Nintendont-XBOX360
here is the controller mappings for it
045e_028e.txt
`
[XBOX 360 Controller]
VID=045e
PID=028e

correct value for EndpointOut is required for rumble and to set LED 1 (indicates player 1)

EndpointOut is 1-8 depending on your hardware, 0 = disable rumble and LED will flash

EndpointOut=1

invert LS/RS (GC defaults)

invert_lx=0
invert_ly=1
invert_rx=0
invert_ry=1

my favorite setting for Super Mario Sunshine

#invert_rx=1

MultiIn=0
Polltype=1
DPAD=0
DigitalLR=0

B=3,10
A=3,20
Y=3,40
X=3,80

Up=2,01
Down=2,02
Left=2,04
Right=2,08

L and R not used as modifiers, because triggers support half-/fully triggered states

#XBOX-L=3,01
#XBOX-R=3,02
#XBOX-Back=2,20

LAnalog=4
RAnalog=5

L3 left hat button

L3=2,40

R3 right hat button

R3=2,80

XBOX button is power

Power=3,04

S=2,10

Z is R

Z=3,02

NOTE: XBOX driver code maps indices 6-12 to 6-9,

and made it Nintendont compatible.

StickX=6
StickY=7
CStickX=8
CStickY=9

Turn buttons quarter clockwise: L+Back

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant