Problems with Zero Delay Arcade Buttons Setup
-
@douga Well to be honest I thought the same the configuration didn't work at first. For button to be mapped, I needed to push a button multiple times or wait a couple of seconds for it to be mapped it is not as snappy as mapping let's say a keyboard. I tried with an Snes,nes and even neo geo all of them had the same problem (I couldn't even use the neo geo one because you need to push select to put a coin then start to start but as said retropie sees brief push of a button as a me still pushing it that means when I push start it percieves it as Start+ Select which makes me return to the title screen)
-
@Retroboii OK, well you may well have confused the system by pressing buttons too many times, so the next thing to do is try reconfiguring your controller setup. If you can't get to them through RetroArch due to the button issue, go to the command line and delete the configuration files you find in /opt/retropie/configs/all/retroarch-joypads and reboot. Then as soon as it detects your encoder it should ask you to configure. I'm a bit surprised that the configure process is slow, it ran at a reasonable speed for me.
-
@douga tried that erased it. the buttons still work in the menu but don't work anymore in the game. I didn't get configuration option when I booted the system (the first time neither pushed start and then configured it alone). Anyhow is there another way to configure them ? what did you do exactly?
-
You should have a configuration auto-created because the buttons and joystick are working. It should be called dragonrise.cfg or something similar . Go into it and edit manually according to the instructions here:
https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-ConfigurationTo work out which button is "9", "3" etc, use the values that you get from jstest/dev/input/js0. I am not near my system now, but I will try to go in and pull up my configuration so you can see it.
-
This is mine. The file is called "DragonRise Inc. Generic USB Joystick .cfg", and can be found in /opt/retropie/configs/all/retroarch-joypads
input_device = "DragonRise Inc. Generic USB Joystick "
input_driver = "udev"
input_l_btn = "1"
input_load_state_btn = "1"
input_start_btn = "8"
input_exit_emulator_btn = "8"
input_down_axis = "+1"
input_r_btn = "7"
input_save_state_btn = "7"
input_right_axis = "+0"
input_state_slot_increase_axis = "+0"
input_select_btn = "9"
input_left_axis = "-0"
input_state_slot_decrease_axis = "-0"
input_l2_btn = "6"
input_up_axis = "-1"
input_a_btn = "5"
input_b_btn = "4"
input_reset_btn = "4"
input_enable_hotkey_btn = "9"
input_r2_btn = "0"
input_x_btn = "3"
input_menu_toggle_btn = "3"
input_y_btn = "2"and my es_input.cfg file, that you can find under /opt/retropie/configs/all/emulationstation looks like this
<?xml version="1.0"?>
<inputList>
<inputAction type="onfinish">
<command>/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh</command>
</inputAction>
<inputConfig type="joystick" deviceName="DragonRise Inc. Generic USB Joystick " deviceGUID="03000000790000000600000010010000">
<input name="pageup" type="button" id="1" value="1"/>
<input name="start" type="button" id="8" value="1"/>
<input name="down" type="axis" id="1" value="1"/>
<input name="pagedown" type="button" id="7" value="1"/>
<input name="right" type="axis" id="0" value="1"/>
<input name="select" type="button" id="9" value="1"/>
<input name="left" type="axis" id="0" value="-1"/>
<input name="up" type="axis" id="1" value="-1"/>
<input name="a" type="button" id="5" value="1"/>
<input name="b" type="button" id="4" value="1"/>
<input name="x" type="button" id="3" value="1"/>
<input name="y" type="button" id="2" value="1"/>
</inputConfig>
</inputList> -
@douga Thanks I will try that but I kind off encoutered a weird problem after trying the erase the file as you told me the gamepad now only works in the menu. I made backup of the file and put it there again but the problem is still there , I tried configuring the gamepad again same problem
-
You are trying to configure the gamepad through the menu, and it isn't detected, ie through the "configure input" option here?
-
@douga Yeah I did it though the configure input and it works correctly but only in the menu when I open a game it says Dragon rise controller not configured .
-
Did you try copying mine? There is a space after "Joystick", so make sure you use exactly the same name as I have. If you have tried, can you post a copy of your file here, so we can have a look and see if we can identify what is wrong?
I am definitely not an expert, so maybe someone else can help too.
When I configured min in RetroPie 4.3, all of my buttons worked except one, and it took a while to work out what was going on. By the way, which emulator are you using?
-
I tried what you said the controls did change and became like yours we have the same model it seems as I didn't need to change anything when copy/pasting. But the same old new problem remain I can't use it in any game I get this message here is a screen shot (I tried uploading the files it says I don't have enough privilege to do so here so I uploaded them on google drive https://drive.google.com/open?id=1y8H-auVaOTZFNtXO1sCHrHZq2PT2A3hm )I tried the controls on the snes/nes/neogeo/gba on retropi 4.4
-
Have you tried removing the inputs for the keyboard from your es_input.cfg file? Other than that, yours is identical to mine. I only use MAME2003 so far, and I was able to add coins, start game etc without having configured my keyboard.
I will check the message I get from the controller when I boot up tonight, but I am sure it doesn't say not configured
-
@douga I actually didn't have this problem at first but then when I deleted the retroarch-joypad folder and then put it back I had it
-
You deleted the folder or the file?
I checked what my controller says when booting a game, and it says 100%: Dragonrise inc. Generic USB joystick configured in port #0
Another thought. Do you have xpad installed? To check, go to
RetroPie Setup -> Manage Packages -> Manager Driver Packages and look for xpad(installed) -
@douga I deleted the folder and after that I put it back there when I made new configurations in retropie new files were created in it. I search for xpad(installed) found it and updated it from source sadly it didn't fix my problem.
-
@Retroboii OK, Iwe should try clearing out your joystick configuration and starting again from the default.
First quit Emulationstation (press F4), then run
sudo ~RetroPie-Setup/retropie_setup.sh
Go to Manage Packages -> Core Packages -> EmulationStation -> Configuration and select "Clear/Reset Emulation Station input configuration". Then restart emulation station or reboot.
After that configure your joystick, but for now leave the keyboard unconfigured.This suggestion came from a post by @jretropie about a year ago.
-
@douga So I've done some research yesterday I kind of found some extra informations to help us fix this problem. First I found out when I made a fresh install of Retropie on an other sd card and plugged the controller it will work in the games (but with that pressed button bug which makes it unplayable sadly) I tried putting your control configs there but it gave me the not configured bug , so I tried doing the opposite putting the new control configs and es input of the fresh install in my old install. it sadly didn't fix the problem either. Btw I discovered too why it took so long to map the controls in config as I told you the first time it was because every press was considered a long press which when configuring make retropie skip the button you're configuring . 1/5 presses are considered a normal one so I had to mash every button to get it to be configured.
-
While researching last night, I saw someone else had the same problem as you, and in that case they also had the keyboard configured as a game controller first. It may be that putting the keyboard there first is messing things up a bit.
What differences do you see between the config file with the original problem and the ones that I provided?
-
guys update your system (use binaries) and try again its the retropie setup
-> update installed packages. reboot when done -
Great news ! I fixed the hold button problem I actually wired the wrong part as the sensor has 3 outputs weirdly enough the one you find on the top only output long signals and no brief one anyhow everything worked fine on my new install now I simply need to fix the new problem of not configured on my old install (worst case scenario everything from the old install to the new install) and sorry for the late response it took me a lot of time to fix everything as the wires were wired pretty tight anyhow I'm going to test the new fixes you guys posted
-
Great, I hope the solutions work, otherwise we can keep on working on it :-)
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.