Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    USB Keyboard Encoder "Dual Strike" ArcadeForge

    GamePad/GPIO/USB encoder
    usb keyboard encoder dual strike arcadeforge
    5
    23
    3596
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SmashDde
      SmashDde last edited by

      Ok, thanks to Home Office I quickly flashed the 7.1.1 onto the SD Card and tried assigning the encoder. Same behavior as before, sadly.
      When it comes to assign "down" it just skips that entry and assigns the down press (button 5 in my case) to the next one in the list. I continue to assign all other buttons and re-assign wrong assignments due to the skipping before but I am unable to assign "button 5" or anything other to "down".
      When accepting this "joystick up" fires twice every time and "joystick down" not at all.

      Could you please tell me where the input configuration is written so I can probably fix it manually in there?

      1 Reply Last reply Reply Quote 0
      • jonas
        jonas @SmashDde last edited by

        @SmashDde I've just finished testing the encoder with 7.1.1, paying extra attention to how the inputs behave inside EmulationStation.
        When in gamepad mode, the encoder works, but not as smoothly as it should. For each 10 vertical (up/down) stick movements, there are one/two movements which will register two inputs. It's somewhat random, and very annoying. After launching a game, the controls work quite well... it's somewhat difficult to say if the double input is present or not. Maybe it depends on the game.
        When in keyboard encoder mode, the vertical movements will always register two inputs, and only one of the eight buttons is working. Configuring the encoder manually as per the tutorial instructions has no effect at all. Therefore, completely useless.

        SmashDde 1 Reply Last reply Reply Quote 0
        • SmashDde
          SmashDde @jonas last edited by SmashDde

          @jonas Thanks very much for going through the hassle of testing this and writing down your findings. At least I am not the only one and can be somewhat certain that further fiddling around with settings, trying different bindings on the keyboard controller itself and so on wouldn't be successful neither. Don't get me wrong: I did this prior of posting in the forums/github bug tracker. For hours. Things like this, especially when it's a self-made and not too cheap thing, drive me mad. I want the stuff to be working.

          Help from one of the devs would be very much appreciated. Whatever I am able to contribute: just let me (us?) know.

          As a last resort I could always go back to the latest Recalbox v6, I guess ...
          Bartop without the joysticks and buttons working is quite useless after all 😉

          jonas 1 Reply Last reply Reply Quote 0
          • jonas
            jonas @SmashDde last edited by

            @SmashDde You're welcome. I know what you mean, I have another keyboard encoder and these things are really a pain in the a** to get configured properly. Sometimes it's just a tiny forgotten detail that makes them work, so we keep trying again and again...
            But in our particular cases, it looks like nothing can be done without help of the devs. The ArcadeForge encoders are "asking" to be fixed since Recalbox 4.0, I think, but because these are not mass-produced commercial products, widely available and with a lot of users, not much information can be found and they do not attract that much interest 😞

            SmashDde 2 Replies Last reply Reply Quote 1
            • SmashDde
              SmashDde @jonas last edited by

              Well, no progress on this one neither by myself or the devs so I probably will switch back to recalbox v6 or some other raspberry emulator distribution, I guess... Sad. 😕 😑

              1 Reply Last reply Reply Quote 0
              • SmashDde
                SmashDde @jonas last edited by SmashDde

                @jonas hey there, since I am not expecting anything to change I've installed DragonBlaze v6.1.1 onto the SD Card.
                I had to struggle with the Arcadeforge setup there the last time, but had it working.

                BUT NOW it seems all info on how to do this is gone, since I cannot find the wiki anymore (for recalbox v6 or earlier).

                This is what I have done:
                recalbox config

                • enabling xarcade controller

                This is what I have done via putty/shell:

                • listing available devices via "ls /dev/input/by-id"
                • creating an empty file with the device name (usb-Arduino_LLC_ArcadeForge_Key_Strike-if02-event-kbd)

                done that by:
                mount -o remount, rw /boot
                cd /recalbox/share/system/configs/xarcade2jstick
                touch usb-Arduino_LLC_ArcadeForge_Key_Strike-if02-event-kbd

                That should be 99% there, but I guess I am missing something, because when I try to do the controller configuration (where you have to hold one button to start configuring the device) it says "keyboard" and I am pretty sure it said something other than that the last time (months ago though).

                Tried everything back and forth, checked the ArcadeForge button binds, tried it in gamepad mode and so on... with or without rom library on external USB HDD.

                Cannot get my 2-player joystick/button combo to work. Which is pretty sad. Sure, I can hook up PS3, PS4 or 8bitdo controllers (and many more), but I did not build a bartop arcade for that.

                Anyway, rambling won't help either ^^
                Do you remember or possibly have any notes on how to setup a keyboard encoder?
                Thanks!

                Zing 1 Reply Last reply Reply Quote 1
                • Zing
                  Zing Global moderator Translator @SmashDde last edited by

                  @SmashDde The only related documentation I remember is this:
                  https://recalbox.gitbook.io/documentation/v/francais/tutoriels/controleurs/encodeurs-usb

                  Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
                  If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

                  1 Reply Last reply Reply Quote 1
                  • jonas
                    jonas last edited by

                    @SmashDde , what you describe seems to be correct.
                    Check if the device listing shows more than one entry/name. If yes, you must try them all.
                    I used this method to setup my iPac2, and I remember only one of the strings worked.

                    SmashDde 1 Reply Last reply Reply Quote 2
                    • SmashDde
                      SmashDde @jonas last edited by

                      @jonas @Zing

                      Thanks! What could be the cause for the usb encoder to be only recognized as "keyboard" no matter what I try, though?

                      Flashed the 6.1.1 image fresh onto the sd card (removed any custom partitioning and so on beforehand), made basic configuration (like WiFi so I can get SSH shell connection), and tried creating the file(s) mentioned in the /system/configs/xarcade2jstick folder (file a, file b, file a and b).
                      Each try with a reboot and testing of course. Double checked using the exact same name the ls command is outputting, despite using copy and paste for it.
                      Only getting "keyboard" now when configuring the buttons, which is quite frustrating.

                      Zing 1 Reply Last reply Reply Quote 0
                      • Zing
                        Zing Global moderator Translator @SmashDde last edited by

                        @SmashDde

                        What could be the cause for the usb encoder to be only recognized as "keyboard" no matter what I try, though?

                        I'm not a developer, and I don't have enough technical knowledge to guarantee ... but, as far as I understand, the driver makes the device recognized as a keyboard, including the name of the file you cited makes it look like this (kbd seems to be the abbreviation for keyboard):

                        usb-Arduino_LLC_ArcadeForge_Key_Strike-if02-event-kbd

                        As I said, I am not a developer, so I may be wrong.

                        Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
                        If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

                        1 Reply Last reply Reply Quote 1
                        • pssadm
                          pssadm last edited by

                          I have an iPac-2 and just updated fresh install of 7.1.1.

                          I have the same exact issue as @smashDde above. I see the devices listed. It tired making a file for all the devices displayed. (The kbd one should be the most logical) .. but nothing works. I deleted all the ones that were listed by default. Created one of the devices. Rebooted and repeated that over and over. None of the documentation indicate whether or not to delete the existing files or to create all of the device names listed by-id in the xarcade2jstick directory.

                          Doesn't matter what I try, the recalbox emulation station controller setup area does NOT see a keyboard there by it doesn't let me hold a button and program the keys! But get this, I can use Joystick 1 perfectly up,down, right,left... I can press player 2 switch 1 and it effectively acts as the "A" select key on the keyboard. Basically, there is a mapping of sorts, but it's totally messed up. And with NO way to reprogram the button mapping.. The new version of recalbox is a step or three backwards. Poor documentation does not help at all I might add.😧

                          If you know how to manually edit the emulation station keyboard mapping to bypass the keyboard detection thing.. that may be useful.

                          SmashDde jonas 2 Replies Last reply Reply Quote 1
                          • SmashDde
                            SmashDde @pssadm last edited by

                            @pssadm Thanks for describing your situation as well. I have put 2-digit hours into trying to solve the seemingly problem on my end (adding custom controllers wasn't too easy anyway) but I don't think it's something you could solve by doing it different anymore.
                            When I have the time and desire I will try it again with recalbox v6 - which wasn't successful the last three or four times btw but I had it working prior to upgrading to v7 - or I'll move over to some other project. At the moment I am still hoping for "the magic update that fixes this" but ...

                            Zing 1 Reply Last reply Reply Quote 0
                            • jonas
                              jonas @pssadm last edited by

                              @pssadm @SmashDde ,

                              Last time I used my iPac2, I was still on Recalbox 6.x. Meanwhile, I had my devices stowed away, and now I reassembled my control panel just to verify if they work. I checked again with 7.1.1, and I can confirm the iPac2 does not work anymore. It behaves like a plain simple keyboard. My iPac2 controller is very old, pre-2015, no fancy firmware updates to check, but has always worked fine.
                              D**n. Time to try another retrogaming distro.

                              1 Reply Last reply Reply Quote 1
                              • Zing
                                Zing Global moderator Translator @SmashDde last edited by

                                @SmashDde

                                I am still hoping for "the magic update that fixes this" but ...

                                I am sorry for the problem you are facing, but unfortunately there is no magic involved: there is only the hard work of a small team of developers working hard to serve as many users as possible, but without having all the possible hardware.

                                @jonas

                                Time to try another retrogaming distro.

                                It is a pity to hear that, but unfortunately I cannot give a date for the problem to be solved, I can only suggest that you support the issue that was opened by @SmashDde :
                                https://gitlab.com/recalbox/recalbox/-/issues/1434

                                If you check it out, you'll notice that there are another 192 issues open, and the team is doing its best.

                                Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
                                If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

                                SmashDde 1 Reply Last reply Reply Quote 2
                                • SmashDde
                                  SmashDde @Zing last edited by

                                  @Zing Hey there. Don't get me wrong, please - I am sure, everybody involved is doing their best to bring the project forward. And I know that your problem does not get recognized or pushed top priority just because you've reported it. No way 😉
                                  On the other hand, if you (as a user) are stuck with something for months, more often than not with the added passion of a personal DIY project, it gets frustrating when there's seemingly nobody actively into solving it.

                                  I think everybody does understand the pov of the users in this as well?!

                                  Zing 1 Reply Last reply Reply Quote 1
                                  • Zing
                                    Zing Global moderator Translator @SmashDde last edited by

                                    @SmashDde Of course, we understand the pov of a frustrated user because there is a bug, and as a user, I fully understand how bad this is.

                                    I just wanted to make clear the situation of the developers, and to make it clear that if more users comment on your issue it will be
                                    better: the team of developers is small, and the work is a lot, so they need to prioritize, and one of the priority criteria is the number of users affected.

                                    Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
                                    If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

                                    1 Reply Last reply Reply Quote 1
                                    • First post
                                      Last post

                                    Want to support us ?

                                    98
                                    Online

                                    99.6k
                                    Users

                                    28.1k
                                    Topics

                                    187.1k
                                    Posts

                                    Copyright © 2021 recalbox.com