Daphne controls issue
-
Hello, I am trying to setup Daphne controls on my custom arcade cabinet. I am using a PI 4B, with Retropie 4.8 installed. My controls are SAWA joystick / buttons (https://www.amazon.com/dp/B07WGK99X5?psc=1&ref=ppx_yo2ov_dt_b_product_details) with the Argon One M.2 case and power supply with switch (https://argon40.com/products/argon-type-c-power-supply-with-switch-18-watts-5-volts).
I've been able to get the buttons working fine by editing dapinput.ini (specifically: start, coin select, button 1, and exit). The joystick is giving me troubles however. I am testing using a game that allows free horizontal and vertical movement. Up on the joystick moves down and vice versa. Left and right move correct, but only sometimes - and when they do it's only for a moment (ie: Holding left on the joystick will, occasionally, move slightly left - but not to the full extent). I've tried swapping up and down, and changing the values for left and right, but the behavior remains unchanged. I had read somewhere that some have to unmount the joystick and turn 180 degrees, but that wouldn't help the left and right control issue.
Can anyone provide any suggestions to how I can resolve this? I can confirm the joystick left and right work fine on other emulators (Arcade, NES, etc.)
Thank you in advance!
Hakku -
Can you post a copy of your
dapinput.ini
and also the RetroArch's configuration profile for your controller, just to compare ?Have you tried using Hypseus instead of Daphne ? uses a more up-to-date SDL2 version for input handling and has also a joystick configuration utility (https://github.com/DirtBagXon/hypjsch).
-
@mitu
I have not tried using Hypseus yet, but I may do that today based on your note.
My dapinput.ini file is:[KEYBOARD] KEY_UP = 273 114 7 KEY_DOWN = 274 102 5 KEY_LEFT = 276 100 8 KEY_RIGHT = 275 103 6 KEY_BUTTON1 = 306 97 3 KEY_BUTTON2 = 308 115 4 KEY_BUTTON3 = 32 113 7 KEY_START1 = 49 0 2 KEY_START2 = 50 0 0 KEY_COIN1 = 53 0 1 KEY_COIN2 = 54 0 0 KEY_SKILL1 = 304 119 0 KEY_SKILL2 = 122 105 0 KEY_SKILL3 = 120 107 0 KEY_SERVICE = 57 0 0 KEY_TEST = 283 0 0 KEY_RESET = 284 0 0 KEY_SCREENSHOT = 293 0 0 KEY_QUIT = 27 113 8 END
Post is too long with retroarch.cfg, is there any specific part of it that would help to show?
-
@hakku said in Daphne controls issue:
Post is too long with retroarch.cfg, is there any specific part of it that would help to show?
Not
retroarch.cfg
, but the input profile, which should be a.cfg
file in/opt/retropie/configs/all/retroarch-joypads
, named after your controller. -
@mitu
Makes sensse :)input_device = "DragonRise Inc. Generic USB Joystick " input_driver = "udev" input_vendor_id = "121" input_product_id = "6" input_enable_hotkey_btn = "0" input_l_btn = "7" input_load_state_btn = "7" input_up_axis = "-1" input_left_axis = "-0" input_state_slot_decrease_axis = "-0" input_select_btn = "0" input_right_axis = "+0" input_state_slot_increase_axis = "+0" input_r_btn = "6" input_save_state_btn = "6" input_y_btn = "5" input_x_btn = "4" input_menu_toggle_btn = "4" input_down_axis = "+1" input_start_btn = "1" input_exit_emulator_btn = "1" input_b_btn = "3" input_reset_btn = "3" input_a_btn = "2"
-
One other note, not sure if this would matter, but I've separated my install from my ROMs with the ROMs stored on a USB flash drive instead of the microSD card running the pi.
-
I swapped over to Hypseus, and was able to get everything running (tested on Dragon's Lair). Thank you again for the suggestion!
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.