Yabause / yabause

Yabause is a Sega Saturn emulator.
http://yabause.org
362 stars 199 forks source link

X-input is not recognize #148

Open jvhellraiser opened 8 years ago

jvhellraiser commented 8 years ago

Xbox one controller + Microsoft wireless adapter + Yabause = No-Go

The Main issue is that L2 + R2 are not configurable on Yabause because of X- input not being recognize so in the D-pad i can configure X,A,B,Y start, select,D-pads,Joysticks L trigger, R trigger but when it comes to L2 + R2 i can't. but at least yabause works, SSF emulator in the other hand cannot even be configure at all making it useless for a person that uses Xbox one controller or Xbox 360 controller.

ghost commented 8 years ago

Proper X-input support would benefit more than just xbox controller owners. I have a logitech F310 gamepad and a mad katz fighter stick that both use X-input. If I ever run into an app that doesn't use X-input properly or has no joystick support at all I usually just use a keyboard to joystick mapper like antimicro. It's a pretty ugly workaround, but it works extremely well

Amon-X commented 8 years ago

SDL 2 is able to handle XInput devices. I just tested it out with the latest version of yabause built with SDL2. Just select the SDL Joystick Interface and you may need to clear the configuration to be able to map the buttons. I am able to use the triggers properly.

With SDL 1 and DirectInput Xinput devices still work to some extent but are missing features such as vibration and the triggers due to how Microsoft set them up to work.

SuperdorkMightyX commented 7 years ago

No it doesn't work on Linux no it doesn't you click the game pad and the green check goes on there you can't use it with Linux I have the same Logitech gamepad from Walmart it don't work.

SuperdorkMightyX commented 7 years ago

Besides how do you put two three processors in one box and expect the games to work?

Amon-X commented 7 years ago

Someone recently had issues with input on Linux. It was fixed in one of the recent updates on git. They solved it by cloning the git and building yabause themselves.

SuperdorkMightyX commented 7 years ago

I see I tried it agin if you uncheck everything it will work and set it to x input on Linux on windows the whole thing crashes

SuperdorkMightyX commented 7 years ago

You also don't set it up the game pad works

corvusd commented 7 years ago

Someone has been able make work the L and R Triggers to map L and R buttons/triggers en pad and 3D Pad in lastest version yabause git??? I had this issue whit x360 wire gamepad and Steam controller game pad. Thanks community! :D

BenjaminSiskoo commented 7 years ago

Delete yabause.ini from your computer (do a search on your computer, remove all yabause.ini file). And try again.

corvusd commented 6 years ago

Sorry for the late answer, but not work for me. I have a GNU/Linux OS(Ubuntu 16.04 64bits). And whit my Steampad a X360 pad the same issues whit the last git version. The only near solution is use QT keyboard and use whit sc controller whit a preset mapping bottons to keyboard. The SDL for gamepad work well for buttons, the direction pad whit issues(but well) and the L and R triggers not work. For 3D Gamepad, the Left pad work well, the direction pad unknow, the bottons OK, the triggers L and R not work The Linux joystick interface. For gamepad de direction pad work bad, the bottons OK and the L and R Triggers OK. For the 3D gamepad not work anything only bottons. Thank to the devs and community! any efforts to improve this great emulator are welcome! :)