Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Found way to use native xbox 360 wireless controller for K-R42

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Found way to use native xbox 360 wireless controller for K-R42

    Hi guys and gals in the K-R42_HFW_1.2.0_Final_1080p firmware by Lewy20041 i have found a way to get the xbox 360 wireless controller detecting natively and fully working,but so far i have only tested it on dead trigger,basically you need a wired and wireless xbox 360 controller that's 2 controllers one wired one wireless for this i used 2 official controllers, i believe you need the 2 controllers unless the file exists where i'm taking you to copy it in this next stage.So what you need to do is have the wired 360 controller and wireless adaptor plugged in at the same time now go to system/usr/kelayout copy a file called Vendor_045e_Product_028e.kl well basicaly if you use the es file explorer text editor to look through each.kl file you see look for a file with xbox 360 usb controller in the top line of writing when opened in a text editor.and then just copy that entire file as is and place the file in download folder for safekeeping then just copy and paste it back to the system/usr/Keylayout folder and it will automatically rename the file making 2 identical files with 2 different names, if you look at all files after exiting and re-entering es file explorer.Now before a reboot take out the wired 360 controller and keep the wifi reciever plugged in, after a reboot you should now just unplug the wifi reciever and replug it back in hence why i use a small male to female usb adaptor to save plugging in and out the usb port on the unit and eventualy breaking it,so once plugged in hit sync on controller cand the wifi reciever to sync the controller, then you should see the controller sart working if you press the d-pad, so just then go into dead trigger and hit left shoulder button in the game at start of level in order to zoom aim then right trigger to make sure it fires and then just start playing as normal,hey presto you can put it in sleep and it remembers the controller even if you remove the batteries and then put them in again it works,you will have to always unplug and replug the wireless reciever/ possibly sync the controller if not recognized after every reboot.But it works i cannot believe i found this,may be this is the same for other consoles and android box's in general, who knows?



    Tell you what guys and gals,if your daring enough to have a go? I have uploaded my 2 files containing the xbox usb controller scripts from my system/usr/keylayout folder as i am wondering if you just start up the k-r42 and just paste these 2 files in the folder path written above whilst the wifi adaptor is plugged in,then reboot the unit once booted up again just unplug and replug in the wifi adaptor and sync the controller again then play a game like dead trigger to test it out. If anyone can try this way for me or try it on other devices and give us some feedback here so we know what devices this works on, that would be realy nice and greatly appreciated me and by all all people interested,cheers guys and gals.

    Here are the 2 files






    Oh yeah and i hope all you guys and gals like being able to play your games using a xbox 360 wireless controller now, big smile.

    The just reiterates what i say in my little signature motto,lol
    Last edited by PHYSC; 20 October 2013, 04:37.
    What is the world if you don't explore?

    #2
    Originally posted by PHYSC View Post
    Hi guys and gals in the K-R42_HFW_1.2.0_Final_1080p firmware by Lewy20041 i have found a way to get the xbox 360 wireless controller detecting natively and fully working,but so far i have only tested it on dead trigger,basically you need a wired and wireless xbox 360 controller that's 2 controllers one wired one wireless for this i used 2 official controllers, i believe you need the 2 controllers unless the file exists where i'm taking you to copy it in this next stage.So what you need to do is have the wired 360 controller and wireless adaptor plugged in at the same time now go to system/usr/kelayout copy a file called Vendor_045e_Product_028e.kl well basicaly if you use the es file explorer text editor to look through each.kl file you see look for a file with xbox 360 usb controller in the top line of writing when opened in a text editor.and then just copy that entire file as is and place the file in download folder for safekeeping then just copy and paste it back to the system/usr/Keylayout folder and it will automatically rename the file making 2 identical files with 2 different names, if you look at all files after exiting and re-entering es file explorer.Now before a reboot take out the wired 360 controller and keep the wifi reciever plugged in, after a reboot you should now just unplug the wifi reciever and replug it back in hence why i use a small male to female usb adaptor to save plugging in and out the usb port on the unit and eventualy breaking it,so once plugged in hit sync on controller cand the wifi reciever to sync the controller, then you should see the controller sart working if you press the d-pad, so just then go into dead trigger and hit left shoulder button in the game at start of level in order to zoom aim then right trigger to make sure it fires and then just start playing as normal,hey presto you can put it in sleep and it remembers the controller even if you remove the batteries and then put them in again it works,you will have to always unplug and replug the wireless reciever/ possibly sync the controller if not recognized after every reboot.But it works i cannot believe i found this,may be this is the same for other consoles and android box's in general, who knows?



    Tell you what guys and gals,if your daring enough to have a go? I have uploaded my 2 files containing the xbox usb controller scripts from my system/usr/keylayout folder as i am wondering if you just start up the k-r42 and just paste these 2 files in the folder path written above whilst the wifi adaptor is plugged in,then reboot the unit once booted up again just unplug and replug in the wifi adaptor and sync the controller again then play a game like dead trigger to test it out. If anyone can try this way for me or try it on other devices and give us some feedback here so we know what devices this works on, that would be realy nice and greatly appreciated me and by all all people interested,cheers guys and gals.

    Here are the 2 files






    Oh yeah and i hope all you guys and gals like being able to play your games using a xbox 360 wireless controller now, big smile.

    The just reiterates what i say in my little signature motto,lol

    Hi mate. Good job trying but so many of your instructions above are incorrect that I will write up some new ones for you in a few hours once the household is awake.
    To Infinity and Beyond.... XBMC

    Comment


      #3
      Originally posted by Flumpster View Post
      Hi mate. Good job trying but so many of your instructions above are incorrect that I will write up some new ones for you in a few hours once the household is awake.
      Ok mate cheers,i have got it to a point now that if i turn off the box all night and the controller, when i turn it back on now and unplug and replug the wireless 360 reciever in and turn the controller on and just sync it,after that it runs a dream again.
      What is the world if you don't explore?

      Comment


        #4
        Originally posted by PHYSC View Post
        Ok mate cheers,i have got it to a point now that if i turn off the box all night and the controller, when i turn it back on now and unplug and replug the wireless 360 reciever in and turn the controller on and just sync it,after that it runs a dream again.
        A few quick answers for you as I will make a new thread to put this in as I have edited loads today and made the controller behave differently and also remade the wired version.

        You do not need a wired controller to set this up. I don't even own one.

        During my testing today I have powered off the machine and restarted it about 30 times and only once did I have to unplug the USB wireless controller and plug it back in. All the other times I have just turned the K-R42 on and the controller just worked instantly.

        I don't even have to sync the controller for it to work but it does flash all the time like it doesn't have sync but it works fine straight away.

        I have enabled the DPAD as that didn't seem enabled at all and remade all the button configs to work on the desktop and to use the proper controls when in game. I tested the InGame settings using Beach Buggy Blitz which is free on the market and the default options for gamepad worked perfectly and also showed me the other buttons are set correctly if I edit them in game settings.

        Below is some pictures of how I have the controller set up now for both wired and wireless.







        To Infinity and Beyond.... XBMC

        Comment


          #5
          I don't really have time to make a thread at the moment so here is the files.



          Copy the 3 .kl files into system/usr/keylayout overwriting any old ones there (or delete any duplicate name ones first) and set the permissions to 644 ( rw r r ).

          Copy the 3 .kcm files into
          system/usr/keychars overwriting any old ones there (or delete any duplicate name ones first) and set the permissions to 644 ( rw r r ).

          Plug in the 360 USB Receiver and restart the K-R42.

          Works fine for me on HFW 2.04 and also on my Nexus 7 and Transformer Prime so should work on anything.

          HTH

          To Infinity and Beyond.... XBMC

          Comment


            #6
            GOOD TUTORIAL

            Originally posted by Flumpster View Post
            I don't really have time to make a thread at the moment so here is the files.



            Copy the 3 .kl files into system/usr/keylayout overwriting any old ones there (or delete any duplicate name ones first) and set the permissions to 644 ( rw r r ).

            Copy the 3 .kcm files into
            system/usr/keychars overwriting any old ones there (or delete any duplicate name ones first) and set the permissions to 644 ( rw r r ).

            Plug in the 360 USB Receiver and restart the K-R42.

            Works fine for me on HFW 2.04 and also on my Nexus 7 and Transformer Prime so should work on anything.

            HTH

            Thanks for ammending the guide,it's now been nailed at last.I am waiting for an import wifi controller for tablets from **** at present,but now i think i'm sticking with my method to re-attach the reciever so i can keep my 360 controller on it.Either way i may be able to comment on the compatability of the china wifi controller with the K-R42 so those who want a cheaper alternative to a 360 wireless controller have an alternative that works if it does work of course?

            UPDATE:Got the china controller yesterday tried it on gta3 apparent immediately was that the controller used the forward movement of the analogue stick to move forward? Now i can't tell if this was because the wifi reciever for the xbox 360 controller has been toyed with in the system files or if it is just ther stock behaviour of the wifi reciever? If it's the stock mentality of the controls i hate it already,but it can be used to mimic a ps3 controller for pc maybe that's a positive factor to an abrupt ending,although i'd love to know if it works native with the buttons for accelerate.It said on the ad for android tablet but the box says that it's for pc any way it works but not as assumed,and we all know what assumption leads to lol.

            The box name for the controller dictates this:Wonderfull wireless game world, pc lava liquid controller
            Last edited by PHYSC; 24 October 2013, 15:49.
            What is the world if you don't explore?

            Comment


              #7
              hi, I successfully added the 6 files mentioned by flumpster and changed permisions (that alone was a major feat for me )

              In the desktop the wireless 360 controller is fine (as far as button configuration)

              I tried nostalgia NES emulator and only the left and right D-Pad work.

              I honestly didn't try any other games, but I assume I might run into the same issue.

              btw, not sure if it matters, but I'm running Wasser's newest firmware 1.2.3

              Please help a noob with a solution. I willing to get my hands dirty, just don't know where to start.

              Thanks

              Comment


                #8
                Originally posted by jhr1948 View Post
                hi, I successfully added the 6 files mentioned by flumpster and changed permisions (that alone was a major feat for me )

                In the desktop the wireless 360 controller is fine (as far as button configuration)

                I tried nostalgia NES emulator and only the left and right D-Pad work.

                I honestly didn't try any other games, but I assume I might run into the same issue.

                btw, not sure if it matters, but I'm running Wasser's newest firmware 1.2.3

                Please help a noob with a solution. I willing to get my hands dirty, just don't know where to start.

                Thanks
                It sounds like a mapping tool must be used,unless of course the emulator has a mapping tool set built in,which in some cases is how it works,otherwise that tincore mapper may be helpfull,although i am no expert on using it as i can't fathom it out.But i hope that helps you and i hope you sort it,p.s sorry for such a delayed response mate.
                What is the world if you don't explore?

                Comment


                  #9
                  Thanks for the help Psych.

                  As I was messing around with different firmwares, I realized the 360 controller can work in games without the need of transferring those files. I was able to map Nostalgia NES to work correctly.

                  Thanks for all the help

                  Comment


                    #10
                    Works nice but I have a little problem with second gamepad. In all emulators 1st and 2nd pad is the same device with the same button mappings.
                    X92 3/32 Android TV Box with Ugoos AM3 Firmware

                    Comment


                      #11
                      There are some games that work when the device is powered on and the xbox wirless controler is connected at boot, some games (few) requaier to reinitialize controller so you need to unplug it and replug once the system fully booted. Thats about it. No need for two gamepads wired and wirless:"

                      Hope that helps
                      Everything is possible if we work together!
                      ApkFreak

                      Comment


                        #12
                        Originally posted by lewy20041 View Post
                        There are some games that work when the device is powered on and the xbox wirless controler is connected at boot, some games (few) requaier to reinitialize controller so you need to unplug it and replug once the system fully booted. Thats about it. No need for two gamepads wired and wirless:"

                        Hope that helps
                        Ah now i get it finally, thanks for the contribution lewy, any chance you could possibly build a rom for wikipad gaming tablet 7"" out of lollipop rom from say a nexus 7 as they say they are alike mqaybe you could port it over? Everyone just got dumped on by wikipad company,they are now saying they will no longer be releasing updates, and nobody can get above android jellybean 4.2.2 when we have the tegra 3 soc and 1gb ram it's a disgrace mate.No apps can be downloaded from the playstore almost 0 good stuff like games any way,or maybe if you could make a helper to force app store to allow any download for us wikipad owners please,i tried a helper apk online changed it to all options and it didn't work even on root mate?
                        What is the world if you don't explore?

                        Comment


                          #13
                          Originally posted by lewy20041 View Post
                          There are some games that work when the device is powered on and the xbox wirless controler is connected at boot, some games (few) requaier to reinitialize controller so you need to unplug it and replug once the system fully booted. Thats about it. No need for two gamepads wired and wirless:"

                          Hope that helps
                          Ah now i get it finally, thanks for the contribution lewy, any chance you could possibly build a rom for wikipad gaming tablet 7"" out of lollipop rom from say a nexus 7 as they say they are alike mqaybe you could port it over? Everyone just got dumped on by wikipad company,they are now saying they will no longer be releasing updates, and nobody can get above android jellybean 4.2.2 when we have the tegra 3 soc and 1gb ram it's a disgrace mate.No apps can be downloaded from the playstore almost 0 good stuff like games any way,or maybe if you could make a helper to force app store to allow any download for us wikipad owners please,i tried a helper apk online changed it to all options and it didn't work even on root mate?

                          The guys in the wikipad forum i promissed i'd try get help on here if someone will help i understand your an extremly busy guy and it's a huge request but i think if you add a price or donation button if you do make it you would be compensated a little by those who appreciated it,or if you setup a thread and state the donation sum people could place donations until you can get a wikipad if you haven't got one already to do some work with i'll donate and ask people online if they will until we get you one to produce it via,but there is a root and clockworkmod available already i have it and i can guinee pig it for you if you are up for it?lol.

                          Another major request is if you might be so kind as to help me get my s812 box working a xbox 360 wireless reciever please but it will be a while now until i respond here any way,i don't expect you to drop all projects to help with any of the affermentioned any way,but i'd definately appreciate any help thanks.

                          I'd make the lot my self if i could learn to develop stuff i am a simple end user of tools but i try my best to contribute here when i find something out and i then drop a tut on here for everyone i recently found a cross flash method to get xtreamer wondertv box firmware on the n200 and eny m8s ott box's using mbox native roms,but i can't get the wifi or bluetooth going, but man it looks amazing and runs perfectly with just the ethernet but no miracast or ps3 controllers or link with bluetooth is a major drawback,if you may be able to contribute to just that and help make an update to add that,it would be absoulutely amazing,flumpster is a great guy and helps me out when he can maybe he can assist with that? As i would but i lack the knowledge and training with android, but pc's and laptops i can pretty much handle inside and out mate.
                          Last edited by PHYSC; 02 April 2015, 05:28.
                          What is the world if you don't explore?

                          Comment

                          Working...
                          X