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

Applications crash when using ABS_HAT axis input #12

Open
sloshy opened this issue Dec 18, 2010 · 1 comment
Open

Applications crash when using ABS_HAT axis input #12

sloshy opened this issue Dec 18, 2010 · 1 comment

Comments

@sloshy
Copy link

sloshy commented Dec 18, 2010

I'm trying to get my classic controller set up as an analog joystick/gamepad. If I set the directional pad as ABS_HAT0X and ABS_HAT0Y (as the obvious axises) and I configure the controller input in any of the various emulators available (snes9x, pcsx, mupen64plus), the application itself or the window crashes. Here is the file I'm using with it, if it makes a difference:

Classic.Dpad.X = ABS_HAT0X
Classic.Dpad.Y = ABS_HAT0Y
Classic.LStick.X = ABS_X
Classic.LStick.Y = ABS_Y
Classic.RStick.X = ABS_RX
Classic.RStick.Y = ABS_RY
Classic.A = BTN_A
Classic.B = BTN_B
Classic.X = BTN_X
Classic.Y = BTN_Y
Classic.Minus = BTN_SELECT
Classic.Plus = BTN_START
Classic.Home = BTN_MODE
Classic.L = BTN_TL
Classic.R = BTN_TR
Classic.ZL = BTN_TL2
Classic.ZR = BTN_TR2

What could be causing the problem?

@sloshy
Copy link
Author

sloshy commented Dec 18, 2010

One more thing to add: If I /don't/ use the analog sticks, and still have the directional pad as HAT0X/Y, it works perfectly.

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