RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Switch to a new fork of XBoxDRV in order to get new features such as chatpad support

    Scheduled Pinned Locked Moved Ideas and Development
    xbox 360 wirelexbox360 controlxbox360
    25 Posts 7 Posters 7.1k Views
    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.
    • R
      robertybob
      last edited by

      @BenMcLean Is there a way I can manually do this after a clean install of Retropie?

      BenMcLeanB 1 Reply Last reply Reply Quote 0
      • BenMcLeanB
        BenMcLean @robertybob
        last edited by

        @robertybob said in Switch to a new fork of XBoxDRV in order to get new features such as chatpad support:

        @BenMcLean Is there a way I can manually do this after a clean install of Retropie?

        Sorry, I'd be asking the same question. Anyone know?

        1 Reply Last reply Reply Quote 0
        • BenMcLeanB
          BenMcLean
          last edited by

          No one knows how to manually add this updated driver for testing purposes?

          1 Reply Last reply Reply Quote 0
          • BenMcLeanB
            BenMcLean
            last edited by

            @BuZz it's been a month with no progress on this. Could you maybe provide some help on getting me set up to at least test this?

            S 1 Reply Last reply Reply Quote 0
            • S
              Syhles @BenMcLean
              last edited by Syhles

              @BenMcLean
              I would go and check how people install different EmulationStation branches and then make those changes, as it shouldn't be overly complicated to adjust where it is pulling the Xboxdrv from, seeing as if you're building from source it's pulling things from GitHub constantly.

              If GitHub is the issue I would look up how to start your own branch and use the Xboxdrv branch that @BuZz uses already and submit the fix yourself, then post a thread here for people to test it.

              BenMcLeanB 1 Reply Last reply Reply Quote 0
              • BenMcLeanB
                BenMcLean @Syhles
                last edited by BenMcLean

                @Syhles said in Switch to a new fork of XBoxDRV in order to get new features such as chatpad support:

                @BenMcLean
                I would go and check how people install different EmulationStation branches and then make those changes, as it shouldn't be overly complicated to adjust where it is pulling the Xboxdrv from, seeing as if you're building from source it's pulling things from GitHub constantly.

                If GitHub is the issue I would look up how to start your own branch and use the Xboxdrv branch that @BuZz uses already and submit the fix yourself, then post a thread here for people to test it.

                If you read the thread above, you'd see I already did make my own branch (later edit: made my own pull request. didn't actually make a fork) which has the fix and was asking about how to test it.

                S 1 Reply Last reply Reply Quote 0
                • S
                  Syhles @BenMcLean
                  last edited by

                  @BenMcLean
                  Just throwing this out here but you never actually stated you had your own branch, you showed that you submitted a pull request, asked about whether you should start your branch to expedite things along, asked us to retweet Microsoft, and asked how you go about testing a modified version of the driver.

                  It may help if you post a link to your branch, you're more likely to get some help with setting it up and testing.

                  I am looking forward to this being a part of Retropie.

                  BenMcLeanB 1 Reply Last reply Reply Quote 0
                  • BenMcLeanB
                    BenMcLean @Syhles
                    last edited by BenMcLean

                    @Syhles said in Switch to a new fork of XBoxDRV in order to get new features such as chatpad support:

                    @BenMcLean
                    Just throwing this out here but you never actually stated you had your own branch, you showed that you submitted a pull request, asked about whether you should start your branch to expedite things along, asked us to retweet Microsoft, and asked how you go about testing a modified version of the driver.

                    It may help if you post a link to your branch, you're more likely to get some help with setting it up and testing.

                    I am looking forward to this being a part of Retropie.

                    Oh, oops, I guess I didn't actually click "Fork" but the point is the fix to test is right here in stepheny's fork.

                    My pull request simply asks to merge in stepheny's stable branch.

                    BenMcLeanB 1 Reply Last reply Reply Quote 1
                    • BenMcLeanB
                      BenMcLean @BenMcLean
                      last edited by

                      So the question is how I can configure RetroPie to test this?

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        Syhles @BenMcLean
                        last edited by

                        @BenMcLean
                        I know you can download and install things via the command line from GitHub on Linux, I would suggest googling the command line commands for this.

                        Not guaranteed that this will work though, just a suggestion.

                        BenMcLeanB 1 Reply Last reply Reply Quote 0
                        • BenMcLeanB
                          BenMcLean @Syhles
                          last edited by BenMcLean

                          @Syhles said in Switch to a new fork of XBoxDRV in order to get new features such as chatpad support:

                          @BenMcLean
                          I know you can download and install things via the command line from GitHub on Linux, I would suggest googling the command line commands for this.

                          Not guaranteed that this will work though, just a suggestion.

                          We all have Google, but linux driver configuration is kind of an advanced topic and I don't want to permanently screw up my retropie install by following outdated information which an inexperienced person has absolutely no way to avoid if they're just going from Googling this without talking to someone who knows what they're doing on it.

                          Maybe I should get a second memory stick just for testing.

                          herb_fargusH 1 Reply Last reply Reply Quote 1
                          • herb_fargusH
                            herb_fargus administrators @BenMcLean
                            last edited by

                            @BenMcLean swap it out for your branch here:

                            https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/supplementary/xboxdrv.sh#L30

                            And go to town.

                            I have a separate sd card I use solely for testing that I reimage at least once a week. If you don't have an extra make backups but they are cheap, so I'd recommend having an extra if your worried about borking stuff.

                            If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                            Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                            BenMcLeanB 1 Reply Last reply Reply Quote 1
                            • BenMcLeanB
                              BenMcLean @herb_fargus
                              last edited by

                              @herb_fargus said in Switch to a new fork of XBoxDRV in order to get new features such as chatpad support:

                              @BenMcLean swap it out for your branch here:

                              https://github.com/RetroPie/RetroPie-Setup/blob/master/scriptmodules/supplementary/xboxdrv.sh#L30

                              And go to town.

                              I have a separate sd card I use solely for testing that I reimage at least once a week. If you don't have an extra make backups but they are cheap, so I'd recommend having an extra if your worried about borking stuff.

                              Thank you so much. I think this is the info I needed. I will scrounge around for an SD card for testing.

                              1 Reply Last reply Reply Quote 1
                              • BenMcLeanB
                                BenMcLean
                                last edited by

                                OK I installed to a new sd card and installed stepheny's stable branch of xboxdrv from source by changing this line to refer to https://github.com/stepheny/xboxdrv.git and I saw it succeed in getting that version when I chose "install from source" from the menu in retropie setup.

                                Unfortunately, I haven't observed any change in behavior after I reboot and plug in the chatpad. I'm not sure if this means the changes to the driver are ineffective or if EmulationStation isn't prepared to take advantage of them or if EmulationStation is even using that xboxdrv driver. How would I test / check to narrow down these possibilities?

                                1 Reply Last reply Reply Quote 0
                                • BenMcLeanB
                                  BenMcLean
                                  last edited by

                                  Bump. Anyone know what I should be trying on this?

                                  1 Reply Last reply Reply Quote 0
                                  • BenMcLeanB
                                    BenMcLean
                                    last edited by

                                    Really too bad there hasn't been any progress on this. :(

                                    1 Reply Last reply Reply Quote 0
                                    • BenMcLeanB
                                      BenMcLean
                                      last edited by

                                      Come on. Nobody knows?

                                      mediamogulM 1 Reply Last reply Reply Quote 0
                                      • mediamogulM
                                        mediamogul Global Moderator @BenMcLean
                                        last edited by

                                        @benmclean

                                        xboxdrv should create a new system event for the chatpad, so you should be able to run evtest on the keyboard event if it exists.

                                        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          munchausen
                                          last edited by

                                          I know this is an old topic but I was reading it just before I tried out the xboxdrv from https://github.com/zerojay/xboxdrv/ and I thought I'd just let you know... having built and tested it all you have to do is launch xboxdrv with the --chatpad option and it works perfectly.

                                          I don't use retropie so I don't know where you need to make this change, but that is all that is required. My main annoyance with it is that I can't find a tab key... but it works well, I'm writing this post with it on my laptop.

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

                                          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.