Controller partially working
-
Hello!
I have a ASUS Gamepad that works via bluetooth.
The device works fine and evtest reports all buttons - but when configuring the controller in emulationstation it seems to be recognized as two different devices where if I start to configure with the "A" button - then all but two buttons work [and emulationstation says "ASUS Gamepad" when holding A]If I start to configue with the "home" button - then the two previously non-working buttons work [emulationstation says "Keyboard" when holding home]
Also, I found someone using xboxdrv to solve issues with the controller - and using xboxdrv I manage to get emulationstation to understand all buttons, but each time I start or exit an emulator I need to restart the device to get any input - as if the first program to use the device locks it from others. [ https://github.com/adolson/NexusGamepad ]
Thanks for any ideas/suggestions
edit.
Heres output from evtest /dev/input/event2 where I press the two non-working buttons http://pastebin.com/MAja5WGi
And heres the config file created by emulationstation (using l1 and r1 as start/select) http://pastebin.com/NFjvpmsh
-
I solved it by writing my own uinput driver - can be found at
https://github.com/Phasip/nexus_gamepad_uinputMy remaining problem is that when trying to map my l2 and r2 (which are axises) emulationstation does not understand that I only want to map one button when I press the axis - instead it skips the second input... - Solution was to so manually add them to the config.
Now I just need to figure how to make psx accept both dpad and analog as arrow-movements
-
Glad you got it working, writing a custom driver was definitely beyond my scope of ability, hah.
The L2 and R2 is a pretty common problem with the axis type. Instead of doing it manually, you can wait until you get to the bottom, scroll back up and fix it.
Copypaste from another post of mine about psx analog:
There are two distinctive ways. One method enables the dual analog for games that support the dual analog(like Ape Escape). The other method simply mirrors the dpad controls onto the joystick.Method One: Get into the Retroarch GUI from in-game with select+X(top button). Navigate to Quick Menu -> Core Options. Set Pad 1 Type to analog. No need to save on exit.
Method Two: Get into RGUI again. Navigate to Quick Menu -> Core Input Options. Set User 1 Analog to Digital Type to Left Analog. Save core or game remap file.
Make sure if you want to use both methods depending on the game that you only set your Analog to Digital Type on a per game basis because it has conflicts with the other method. If you find yourself with an older game that doesn't function at all in analog mode, go back and switch Method One to standard.
-
@wropzter are you able to help a newbie out here... How do I install this? I've spent 2 days trying to get mine to work through xboxdrv running into same issues you had. This would be a life saver!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.