Recalbox Forum

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

    X-Arcade Dual Stick Button 8 for both Player 1 & 2 only sends any input on release

    GamePad/GPIO/USB encoder
    x-arcade dual stick button both
    2
    25
    8360
    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.
    • kimmykaroo
      kimmykaroo last edited by

      @substring No, I didn't have to touch custom.sh, but I do have to make sure the arcade stick is plugged in prior to booting.

      Substring 1 Reply Last reply Reply Quote 0
      • Substring
        Substring @kimmykaroo last edited by

        @kimmykaroo ok, looks like it's "normal" that it just returns an even on release, the keypress is just ignored to handle some combo keys. AFAIR, I never succeeded to make these combos work ...

        Former dev - Please reply with @substring so that i am notified when you answer me
        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

        kimmykaroo 1 Reply Last reply Reply Quote 0
        • kimmykaroo
          kimmykaroo @Substring last edited by

          @Substring combo keys? I don't understand. How can I disable this 'normal' behavior?

          Substring 1 Reply Last reply Reply Quote 0
          • Substring
            Substring @kimmykaroo last edited by

            @kimmykaroo you can't disable that, unless you know C and recompile by yourself the driver 😉

            Former dev - Please reply with @substring so that i am notified when you answer me
            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

            1 Reply Last reply Reply Quote 0
            • kimmykaroo
              kimmykaroo last edited by

              That's... inconvenient. I'm screwed then?

              Substring 1 Reply Last reply Reply Quote 0
              • Substring
                Substring @kimmykaroo last edited by

                @kimmykaroo unless i remove combos, but i won't do that beforesome time i think

                Former dev - Please reply with @substring so that i am notified when you answer me
                Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                kimmykaroo 1 Reply Last reply Reply Quote 0
                • kimmykaroo
                  kimmykaroo @Substring last edited by

                  @Substring I don't even know what 'combos' are... button macros or something?

                  Substring 1 Reply Last reply Reply Quote 0
                  • Substring
                    Substring @kimmykaroo last edited by

                    @kimmykaroo combo = combination, several buttons at once

                    Former dev - Please reply with @substring so that i am notified when you answer me
                    Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                    1 Reply Last reply Reply Quote 0
                    • kimmykaroo
                      kimmykaroo last edited by

                      @Substring Are there any other buttons that behave this way, or is it just button 8?

                      I don't use the standard configuration as is... I really don't see the logic in handling the buttons this way.

                      Substring 1 Reply Last reply Reply Quote 0
                      • Substring
                        Substring @kimmykaroo last edited by

                        @kimmykaroo Looks like the combo is when you combine this key + the player start. You're right, that's just total bulls**t ...

                        I'll try to find some time to do thatsooner than expected to add it to 4.1. Meanwhile, when it's ready, i'll give you a link + howto to install the new binary. Which raspberry pi ?

                        Former dev - Please reply with @substring so that i am notified when you answer me
                        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                        1 Reply Last reply Reply Quote 0
                        • kimmykaroo
                          kimmykaroo last edited by kimmykaroo

                          @Substring I use raspberry pi 3

                          Substring 2 Replies Last reply Reply Quote 0
                          • Substring
                            Substring @kimmykaroo last edited by

                            @kimmykaroo ok. Keep checking the forum, I'll try to do that in the next 10 days.

                            Former dev - Please reply with @substring so that i am notified when you answer me
                            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                            1 Reply Last reply Reply Quote 0
                            • Substring
                              Substring @kimmykaroo last edited by

                              @kimmykaroo patch done, building it. I may not be able to test it before I send it to you. Keep in touch

                              Former dev - Please reply with @substring so that i am notified when you answer me
                              Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                              kimmykaroo 2 Replies Last reply Reply Quote 0
                              • kimmykaroo
                                kimmykaroo @Substring last edited by

                                @Substring Alright, thank you.

                                1 Reply Last reply Reply Quote 0
                                • kimmykaroo
                                  kimmykaroo @Substring last edited by

                                  @Substring How is it coming along?

                                  Substring 1 Reply Last reply Reply Quote 0
                                  • Substring
                                    Substring @kimmykaroo last edited by

                                    @kimmykaroo For now my PC is setup to build for Odroid C2, i can't build yet for Pi3. My work over the C2 should be over in the weekend, meanwhile i'll probably have our build build a recalbox version with the modified xarcade. You need to be patient, I won't have much time for Recalbox bedore Sunday

                                    Former dev - Please reply with @substring so that i am notified when you answer me
                                    Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                    1 Reply Last reply Reply Quote 0
                                    • Substring
                                      Substring last edited by

                                      @kimmykaroo So :http://www42.zippyshare.com/v/GbiBxNhB/file.html looks like it worked fine for me, evtest working as expected :

                                      # evtest
                                      No device specified, trying to scan all of /dev/input/event*
                                      Available devices:
                                      /dev/input/event0:	Logitech USB Receiver
                                      /dev/input/event1:	Logitech USB Receiver
                                      /dev/input/event2:	XGaming X-Arcade
                                      /dev/input/event3:	XGaming X-Arcade
                                      /dev/input/event4:	Xarcade-to-Gamepad Device 1
                                      /dev/input/event5:	Xarcade-to-Gamepad Device 2
                                      /dev/input/event6:	SNES-to-Keyboard Device
                                      Select the device event number [0-6]: 4
                                      Input driver version is 1.0.1
                                      Input device ID: bus 0x3 vendor 0x1 product 0x1 version 0x4
                                      Input device name: "Xarcade-to-Gamepad Device 1"
                                      Supported events:
                                        Event type 0 (EV_SYN)
                                        Event type 1 (EV_KEY)
                                          Event code 276 (BTN_EXTRA)
                                          Event code 304 (BTN_SOUTH)
                                          Event code 305 (BTN_EAST)
                                          Event code 307 (BTN_NORTH)
                                          Event code 308 (BTN_WEST)
                                          Event code 310 (BTN_TL)
                                          Event code 311 (BTN_TR)
                                          Event code 314 (BTN_SELECT)
                                          Event code 315 (BTN_START)
                                          Event code 316 (BTN_MODE)
                                        Event type 2 (EV_REL)
                                        Event type 3 (EV_ABS)
                                          Event code 0 (ABS_X)
                                            Value      2
                                            Min        0
                                            Max        4
                                          Event code 1 (ABS_Y)
                                            Value      2
                                            Min        0
                                            Max        4
                                      Properties:
                                      Testing ... (interrupt to exit)
                                      Event: time 1499585090.886264, type 1 (EV_KEY), code 314 (BTN_SELECT), value 1
                                      Event: time 1499585090.886264, -------------- SYN_REPORT ------------
                                      Event: time 1499585091.262290, type 1 (EV_KEY), code 314 (BTN_SELECT), value 0
                                      Event: time 1499585091.262290, -------------- SYN_REPORT ------------
                                      Event: time 1499585091.694345, type 1 (EV_KEY), code 314 (BTN_SELECT), value 1
                                      Event: time 1499585091.694345, -------------- SYN_REPORT ------------
                                      Event: time 1499585091.926374, type 1 (EV_KEY), code 314 (BTN_SELECT), value 0
                                      Event: time 1499585091.926374, -------------- SYN_REPORT ------------
                                      Event: time 1499585092.302426, type 1 (EV_KEY), code 276 (BTN_EXTRA), value 1
                                      Event: time 1499585092.302426, -------------- SYN_REPORT ------------
                                      Event: time 1499585092.614465, type 1 (EV_KEY), code 276 (BTN_EXTRA), value 0
                                      Event: time 1499585092.614465, -------------- SYN_REPORT ------------
                                      Event: time 1499585092.822493, type 1 (EV_KEY), code 276 (BTN_EXTRA), value 1
                                      Event: time 1499585092.822493, -------------- SYN_REPORT ------------
                                      Event: time 1499585092.990517, type 1 (EV_KEY), code 276 (BTN_EXTRA), value 0
                                      Event: time 1499585092.990517, -------------- SYN_REPORT ------------
                                      Event: time 1499585093.566594, type 1 (EV_KEY), code 304 (BTN_SOUTH), value 1
                                      Event: time 1499585093.566594, -------------- SYN_REPORT ------------
                                      Event: time 1499585093.750617, type 1 (EV_KEY), code 304 (BTN_SOUTH), value 0
                                      Event: time 1499585093.750617, -------------- SYN_REPORT ------------
                                      Event: time 1499585094.142676, type 1 (EV_KEY), code 305 (BTN_EAST), value 1
                                      Event: time 1499585094.142676, -------------- SYN_REPORT ------------
                                      Event: time 1499585094.286691, type 1 (EV_KEY), code 305 (BTN_EAST), value 0
                                      Event: time 1499585094.286691, -------------- SYN_REPORT ------------
                                      Event: time 1499585094.702746, type 1 (EV_KEY), code 311 (BTN_TR), value 1
                                      Event: time 1499585094.702746, -------------- SYN_REPORT ------------
                                      Event: time 1499585094.878767, type 1 (EV_KEY), code 311 (BTN_TR), value 0
                                      Event: time 1499585094.878767, -------------- SYN_REPORT ------------
                                      Event: time 1499585096.006924, type 1 (EV_KEY), code 308 (BTN_WEST), value 1
                                      Event: time 1499585096.006924, -------------- SYN_REPORT ------------
                                      Event: time 1499585096.134938, type 1 (EV_KEY), code 308 (BTN_WEST), value 0
                                      Event: time 1499585096.134938, -------------- SYN_REPORT ------------
                                      Event: time 1499585096.406971, type 1 (EV_KEY), code 307 (BTN_NORTH), value 1
                                      Event: time 1499585096.406971, -------------- SYN_REPORT ------------
                                      Event: time 1499585096.470979, type 1 (EV_KEY), code 307 (BTN_NORTH), value 0
                                      Event: time 1499585096.470979, -------------- SYN_REPORT ------------
                                      Event: time 1499585096.887066, type 1 (EV_KEY), code 310 (BTN_TL), value 1
                                      Event: time 1499585096.887066, -------------- SYN_REPORT ------------
                                      Event: time 1499585096.935042, type 1 (EV_KEY), code 310 (BTN_TL), value 0
                                      Event: time 1499585096.935042, -------------- SYN_REPORT ------------
                                      Event: time 1499585099.391380, type 1 (EV_KEY), code 315 (BTN_START), value 1
                                      Event: time 1499585099.391380, -------------- SYN_REPORT ------------
                                      Event: time 1499585099.799422, type 1 (EV_KEY), code 315 (BTN_START), value 0
                                      Event: time 1499585099.799422, -------------- SYN_REPORT ------------
                                      Event: time 1499585102.799845, type 1 (EV_KEY), code 316 (BTN_MODE), value 1
                                      Event: time 1499585102.799845, -------------- SYN_REPORT ------------
                                      Event: time 1499585103.367901, type 1 (EV_KEY), code 316 (BTN_MODE), value 0
                                      Event: time 1499585103.367901, -------------- SYN_REPORT ------------
                                      Event: time 1499585103.655939, type 1 (EV_KEY), code 316 (BTN_MODE), value 1
                                      Event: time 1499585103.655939, -------------- SYN_REPORT ------------
                                      Event: time 1499585105.056126, type 1 (EV_KEY), code 316 (BTN_MODE), value 0
                                      Event: time 1499585105.056126, -------------- SYN_REPORT ------------
                                      

                                      So, download the file, use SSH to mount -o remount, rw /, copy the file to /usr/bin (use WinSCP if you're not familiar with linux command line), make sure atrtibutes have "executable" for the owner (with putty : chmod u+x /usr/bin/xarcade2jstick), reboot and voilà

                                      Former dev - Please reply with @substring so that i am notified when you answer me
                                      Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                      1 Reply Last reply Reply Quote 0
                                      • kimmykaroo
                                        kimmykaroo last edited by

                                        @substring It works! Thank you so much

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

                                        Want to support us ?

                                        74
                                        Online

                                        99.6k
                                        Users

                                        28.1k
                                        Topics

                                        187.1k
                                        Posts

                                        Copyright © 2021 recalbox.com