Overblog Tous les blogs Top blogs Automobiles & Véhicules
Editer l'article Suivre ce blog Administration + Créer mon blog
MENU
http://frba.over-blog.com/

frba.over-blog.com/

Publicité

Pair Xbox 360 Controller



Wireless Receiver

  1. Pair Xbox 360 Controller Pc
  2. Pair Xbox 360 Controller With Console
  3. Pair Xbox 360 Controller
  4. How To Sync Xbox 360 Controller

Connect a Wired Xbox 360 Controller to a Windows PC. If you are using a Xbox 360 wired controller, you can follow these steps to install your Xbox 360 wired controller on Windows 10. Plug the USB connector of your Xbox 360 controller into any USB 2.0 or 3.0 port on your Windows PC.

  1. The Xbox One cannot directly accept input from an Xbox 360 controller - however, with Windows 10, there is a work around. Windows 10 allows you to set up your Xbox One to stream to your computer. While streaming to your computer, you are directed to connect the controller into the computer, not the Xbox One.
  2. But my current xbox controller is wireless why do I need a wifi dongle? I have tried to pair it as I would an xbox but the NSTV could find the controller Sorry to be a pain but if anyone could help me out it would be appreciated Thanks Xbox 360 Wireless uses IR. This cheap official IR adapter by MS for PC is natively supported by Shield TV.
  3. Shop for Xbox 360 & PS3 Modded Controllers at video outlines the steps required to sync your new custom, rapid fire contr.

To use wireless Xbox 360 controllers, you will also need a USB wireless receiver plugged into your Raspberry Pi. The Official Microsoft Xbox 360 receiver or a generic brand like zettaguard, VicTsing will work. You can pair multiple controllers to a single wireless receiver. Play and charging cables will not work.

To pair your controller(s) with the wireless receiver:

  • turn on your wireless Xbox 360 controller (hold down the Guide button)
  • press the connect button on the receiver (green light will start flash)
  • then press the tiny connect button on the top of the controller
  • you will need to repeat these steps to pair each additional controller

Automatic Configuration (Easiest)

Xpad Driver

Starting with the RetroPie 4.1 SD image, the Xpad driver is enabled by default and the following steps are unnecessary.

Pair Xbox 360 Controller Pc

With the recent kernel issues of xboxdrv rendering images unusable, there is an updated xpad driver which will work just as well for Xbox controllers, it's possible it may also support Xbox One controllers.

You access the driver through Manage Packages >> Manage Driver Packages >> Xpad Driver and you'll install it from source. Reboot for good measure, reconfigure your controllers and the lights should work properly.

A complete working config (that was generated from the EmulationStation configuration) is listed below at /opt/retropie/configs/all/retroarch-joypads/Xbox360WirelessReceiver(XBOX).cfg

Xboxdrv Driver

Note! There are known incompatibilities with this driver when used in it's default configuration with the latest kernel. As such, the xpad drive is currently the best option to simply make an Xbox 360 controller operational in RetroPie.

However, these incompatibilities are not an issue when using xboxdrv as a calibration and key-mapping tool for almost any gamepad, including the Xbox 360 controller. When used this way, it's even possible for both xpad and xboxdrv to coexist together.

Access the RetroPie Setup Script and navigate to Manage Packages >> Manage Driver Packages >> xboxdrv

  1. Enable xboxdrv: This will install the driver and add a start-up configuration in /etc/rc.local
  2. Disable xboxdrv: This will disable the driver and remove the start-up configuration in /etc/rc.local
  3. Set Number of Controllers To Enable: Default number of controllers is 2 (If you have more than two controllers, set this first before you enable xboxdrv)
  4. Set Analog Stick Deadzone: Smaller number = more responsive, Larger number = less responsive.
  5. Set dwc_otg.speed=1 in /boot/config.txt: May help if controller is being glitchy.
  6. Remove dwc_otg.speed=1 from /boot/config.txt: Removes the config.

https://lastenterprises135.weebly.com/free-casino-games-without-internet.html. After you have enabled the driver and rebooted you'll need to reconfigure your controller(s) in EmulationStation as described on the first installation page

Pair Xbox 360 Controller With Console

Alternatively if you prefer you can manually install it.

Manual Configuration

RetroPie 3.3 contains a newer xboxdrv at /opt/retropie/supplementary/xboxdrv/bin/xboxdrv - which is preferable over the older Debian package. On older RetroPie images you can install the Debian package.

install it by running

Then you must choose one of the 3 methods below

1 - Multiples instances of xboxdrv

You have to launch multiple instances of xboxdrv (one for each controller)

For example we can edit the file /etc/rc.local to start instances of xboxdrv during boot Prowling panther slot.

Controller

Here is an example of what to insert in /etc/rc.local for 4 wireless pads (put this just before exit 0):

(replace the --wid by --id if you use wired controllers)You must swich-on your pads before booting the raspberry.

Notice the sleep 1 between each instance: this prevents the RPi from setting random controllers with random led status; adjust timing if necessary.

2 - Single command line

Another way is to specify this single command :

3 - init script
Pair Xbox 360 Controller

The third possibility, you can use an init.d script with the daemon -D Option. Save the following content to /etc/init.d/xboxdrv:

sudo chmod +x /etc/init.d/xboxdrv
sudo update-rc.d xboxdrv start 90 2 3 4 5 stop 90 0 1 6
You will also need a default configuration file. Save the following content to /etc/default/xboxdrv:

Pair Xbox 360 Controller

To specifiy the amount of controller, edit the variable CONTROLLER_NUM. If you have a wired controller, replace all '-w' occurences with '-i'.

How To Sync Xbox 360 Controller

It is generally advisable to use the daemon mode, 'cause it uses less CPU and RAM instead of several xboxdrv processes for each controller.

Additional Configuration Information
Xbox 360 controller glitchy?

According to this post it might help to add the line dwc_otg.speed=1to the file /boot/cmdline.txt.

Alternate Controller Configurations

This is what makes the Xbox 360 controller the best for this project.

  1. Copy necessary files: First, copy the files above to your pi. (Remove the .txt extension first of course.) I placed them in /usr/local/ but they could go anywhere.

  2. Edit rc.local: Next, you need to edit rc.local so that xboxdrv uses the config files. There a few different possibilities depending on how you are instantiating xboxdrv, so be careful.

    2a. If you have this line:

    change it to this:

    2b. If you have this line (generated by the xboxdrv install from retropie_setup.sh):

    change it to this:

    2c. Or, if you are using separate lines like this:

    Edit them so that they look like this:

  3. File Permissions: The very last step is to make the .cfg files executable. So run these commands, changing them to reflect the location you placed the .cfg files.

Now, whenever you press the Xbox (guide) button on either controller 1 or 2, it will change the control scheme. For player 1, the controller starts up in normal mode. Hitting the Xbox button will change to player1.cfg. Hitting it again will enable mouse emulation. One more time will bring back normal operation. Controller 2 cycles between normal operation and player2.cfg. Controllers 3 and 4 are unaffected.

Here's a little explanation of xboxdrv_player1.cfg (player2 is similar):





Publicité
Partager cet article
Repost0
Pour être informé des derniers articles, inscrivez vous :
Commenter cet article