Trouble on bartop button configuration

Hi everyone. I’ve built my own arcade cab with htperspin, rocketlauncher and I choose retroarch as emulator. Inside my cab I set a pc in windows configuration ad I use arcade buttons and sicks for two players with an usb encoder. To use hyperspin I set joytokey to simulate pressing keyboard buttons with arcade buttons ad everything works but in retroarch even if I set keyboard as imput method, buttons do not works correctly. In the imput configuration there are only xbox360 buttons (a, b, x, y, l, r, l2, r2, l3, r3) but I have no xbox controller plugged in Sorry for my bad english. Anyone can help?

Please, anyone can help?

The xbox buttons are the “retropad” abstraction we use. It’s a sort of “virtual gamepad”. You map the retropad buttons to your physical inputs, whatever they may be, and then the cores’ inputs are mapped to the retropad (you can modify that mapping through the quick menu’s “controls” submenu).

I’m not sure I understood your issue correctly, but if you’re wanting to use joytokey’s simulated key presses, you might need to go to settings > input and disable autoconfiguration.

I did, I disabled autoconfiguration. But with snes game loaded (for example) I press F1, go to input settings and I can set all correct snes button (d-pad, x, y, a, b, l, r, start, select) but with other platforms like genesis or mame the buttons are still the same and I can’t configure it correctly. What I’m doing wrong? I’m not sure to have undertood how to set buttons correctly Thank you for the answer

I alredy tryed to configure d pad and other buttons but when I try to use emulator keys are refused. For example with mame I tried with street fighter II and buttons are completly wrong, when I press down stick then I have a low punch, when I press x button, my player moves forward, when I press a player two button then player one jumps and so on. Using other emulators like zsnes or dolphin or mame there are no problems, so It’s not joytokey or pc or hyperspin but It’s a retroarch problem. I really can’t explain why…