OLD Gamepad Autoconfig Thread

[quote=“DuH.Khv”]

1 - a - 188 2 - b - 189 3 - c - 190 4 - x - 191 5 - y - 192 6 - z - 193 7 - L1 - 194 8 - R1 - 195 9 - L2 - 196 10 - START - 197[/quote]

OK thanks - that’s what I needed.

Many thanks to you! :slight_smile: wait for update.

[quote=“Squarepusher”]

This is the exact name that shows up when you press the first button while ingame, right?

The name is case sensitive and it needs to be EXACTLY the same for the name pattern recognition to work. Right now I have set the detection to ‘Gasia,Co’.

Still, even if this is correct, let me know the exact name string anyways so that I can differentiate it better.[/quote] Yeah, the first one is exactly what it shows up as. Not sure if the period at the end counts, or just delineates the end of the name in-emulator. I was pretty careful about getting the period and comma area right, and the lack of a space there.

Added Defender Game Racer Classic to autodetection list - should be in r15.

Button layout I had to change slightly because of the lack of a Select button - it is now mapped like this:

1 - B 2 - A 3 - R2 4 - Y 5 - X 6 - L2 7 - L1 8 - R1 9 - Select 10 - Start

Thanks for the update. I just tested r13 out with the Tomee NES USB controller. Everything works great except buttons A and B are swapped. I checked the keycodes again but they are exactly as I first reported them. Can you please swap the two in another update? It feels so awkward having Mario jump with B rather than A. :stuck_out_tongue: Thank you! Really lovin’ RetroArch~

Will there be another update to correct the issue with the Gamestop controller? Before the last update, I was able to use the analog stick at least (but only the left-right worked on the d-pad), but now I can’t use the buttons and the analog stick only partially works.

When I select the Gamestop controller under the settings, RetroArch shuts down. If you can look into this bug that would be great. I would really love to be able to use the controller with RA.

Thanks!

The Gamestop controller is another one of these pesky iCade devices. I can’t properly debug them or support them since I own no iCade-based input device.

Until somebody does in fact I think it might be better to get rid of the support altogether since it seems the current way of hooking them up just plain doesn’t work.

Thanks for the update. I just tested r13 out with the Tomee NES USB controller. Everything works great except buttons A and B are swapped. I checked the keycodes again but they are exactly as I first reported them. Can you please swap the two in another update? It feels so awkward having Mario jump with B rather than A. :stuck_out_tongue: Thank you! Really lovin’ RetroArch~[/quote]

Guess I’ll swap Tomee around them wrt the two face buttons.

Bummer about the Gamestop wireless controller. I’ll exchange it for the Nyko Playpad Pro. Thanks.

I am using an onlive bluetooth game controller. When I first use it, it reports as:

Port 0: Onlive Wireless Controller

the codes I receive are as follows:

Start - 102 ac=0 src=1281 Select - Backs out of app y - 100 ac=0 src=1281 x - 99 a - 96 b - 97 LB - 102 LT - Nothing RB - 103 RT - Nothing Left analog functions to move the character fine

These give x y coordinates, but they change with each click, but they run off the screen so I can’t tell what they are. D-Pad - up down left right Right Analog - up down left right

Let me know if you need any more information. I just got news today that my OUYA is being shipped within the next 2 weeks, so if you can’t get it to work, then I can try again with that one.

I have also used an app called Onlive Helper, as it lets you program custom codes for the buttons as well. I have a few different profiles for this, as it works slightly differently for different games. If you are able to give me the codes that it should show up as, I can always add them to the app, and use the controller that way.

When in the menu, the dpad works for going up and down, y selects things, b goes back once, and a exits the app completely.

The MOGA universal driver app has been updated and now the analog sticks don’t work in gamepad mode (they still work fine in virtual keyboard/IME mode). They work if I manually bind the keys, so I guess the keycodes just changed?

Also I noticed the start and select buttons are swapped in gamepad mode.

Here are the keycodes reported using the current version of Moga universal driver: Port 0: MOGA.

All are Pad0 :<x>, ac=0, src=1281.

left stick up=188 left stick down=189 left stick left=190 left stick right=191

right stick up=192 right stick down=193 right stick left=194 right stick right=195

start=109 select=108 a=96 b=97 x=99 y=100 l=102 r=103

edit: just to be clear, these are for the Moga Classic, not the new Moga Pro controller.

Moga Pocket (Classic) user here. I got it to work with the updated Moga Universal Driver, in gamepad mode by doing the following.

Autodetect = On Then going into the Input Options and changing Device Type to Joypad w/ Analog Dpad Emulation to Left Stick

But yes the Moga controls in retroarch need updated as this does not save and I am having to do it each time.

Logitech Logitech® Precision™ Gamepad

START=197 196, ac = 0, src =1281 , SELECT=196, ac = 0, src =1281 DPAD = X & Y +/- values shown - already work TRIANGLE = 191 ac = 0, src =1281 X = 189 ac = 0, src =1281 SQUARE = 188 ac = 0, src =1281 CIRCLE = 190 ac = 0, src =1281 L1=192 ac = 0, src =1281 ----- R1=193 ac = 0, src =1281 L2=194 ac = 0, src =1281 ----- R2=195 ac = 0, src =1281

What a relief finally a genesis emu that can identify pad 0 and pad 1 , now just need the other keys working:)

Great job mate.!!

GamePad: JC-U912FSV http://www2.elecom.co.jp/peripheral/gamepad/jc-u912f/index.asp

VID: 1241 PID: 07d6

GamePade Have 2 mode

  1. Normal mode: Triggers LT 194 RT 195 -trigers LB 192 RB 193 -buttons

Buttons: X 188 Y 189 A 190 B 191

PAD: (In analog mode don’t work) U/D (y) -1/+1
L/R (x) -1/+1

Left Stick: LS U/D (Y) -1/1 LS L/R (X) -1/1 LS Button 196

Right Stick RS U/D (rz) -1/1 RS L/R ( z) -1/1 RS Button 190

SELECT 198/ START 199

  1. Analog mode: PAD NOT WORK. All others not modif

Report to me the HID name that shows up when you start RetroArch and press your first button on the pad

“Port0: HOLTEK JC - U912F vibration game” On PC: JC - U912F vibration game pad HID\VID_1241&PID_5004&REV_0120 HID\VID_1241&PID_5004 HID_DEVICE_SYSTEM_GAME HID_DEVICE_UP:0001_U:0004 HID_DEVICE

OK - I added this pad (HOLTEK JC - U912F) -

You will be able to check out if the pad is properly autodetected and if the buttons are configured right in the next release - r17 -which should be released either today or tomorrow.

thnks, I will be waiting r17 for test.

First off, many thanks for all your work. I discovered RetroArch on Android today and have been playing about with it.

I could not see an answer regarding adding the Datel Arcade Stick. When I press a button the program seems to detect it and prints in yellow font ‘Port 0 Datel Arcade Stick’ but I cannot get it to work. It works with Mame4Droid so it is OK with Android.

Please could you add support. I can provide further info if required. Regarding thge other posters comments on PC and XBOX 360 bersion , I believe it operates in two modes PC/PS3 and then Xbox. It is changed/switched by pressing button combinations.

Many Thanks.

Here is the log cat for when I plug the Date Arcade Stick in:

06-30 21:43:09.956 E/EventHub(738): could not get driver version for /dev/input/js0, Invalid argument 06-30 21:43:10.076 D/EventHub(738): No input device configuration file found for device ‘Datel Arcade Stick’. 06-30 21:43:10.076 I/EventHub(738): New device: id=9, fd=267, path=’/dev/input/event2’, name=‘Datel Arcade Stick’, classes=0x80000141, configuration=’’, keyLayout=’/system/usr/keylayout/Generic.kl’, keyCharacterMap=’/system/usr/keychars/Generic.kcm’, builtinKeyboard=false, usingSuspendBlockIoctl=false, usingClockIoctl=false 06-30 21:43:10.076 I/InputReader(738): Device added: id=9, name=‘Datel Arcade Stick’, sources=0x01000511

Thanks.