

It can be referred to as 3x lighter than the other Raspberry Pi OS available out there. Next, learn how to use your Xbox One controller on your PC.If you are looking for an extremely light Debian OS, dietPi might be the best choice. It also includes a few keyboard functions. If you need a specific mouse button, check the chart below for a corresponding button on the Xbox controller. Sudo xboxdrv -detach-kernel-driver -silent -mouse Run the following command in a terminal window to enable this feature: Now that your controller is connected, you may want to use it in place of a mouse. If everything is working properly, pressing buttons on the controller will cause them to change.Ħ – Use an Xbox controller to replace mouse functions When it finishes installing, run this command to start the test: sudo jstest /dev/input/js0 Install it with this command: sudo apt-get install joystick We’ll use the joystick toolset to make sure everything is working. trust MAC_ADDRESSĬlose the bluetoothctl application by typing quit 5. connect MAC_ADDRESSĪfter connecting the controller, make sure it’s listed as a trusted device with this command-again replacing MAC_ADDRESS with the one for the Xbox. In the terminal window, enter the following command, replacing MAC_ADDRESS with the Xbox controller MAC address. Take note of the MAC address, we’ll need it to connect the controller. It should appear in the list of devices with a unique MAC address and the words “wireless controller” at the end. Put the Xbox controller into Pairing mode. Run this command to start scanning: scan on 4.

Next, we’ll start scanning for available Bluetooth devices. Enable agent with the following commands: agent on Don’t put the controller into pairing mode just yet. Now we need to search for the Xbox controller. To disable the ERTM, run the following command: echo 'options bluetooth disable_ertm=Y' | sudo tee -a /etc/modprobe.d/nfĪfter the Pi reboots, start Bluetooth Tools with the following command: sudo bluetoothctl 3. If ERTM is enabled, the controller won’t pair with the Pi. Disable Enhanced Re-Transmission Mode (ERTM)

Open one on Raspberry Pi OS or remote into the Pi using a terminal application of your choice. To connect an Xbox controller using Bluetooth, you’ll need a terminal window. The Pi should detect the controller as a usable device. If you’re using a wired USB controller, plug the controller into a USB port on the Raspberry Pi. It should recognize and respond to the input as a normal USB controller.Ĥ – Connect an Xbox controller via USB cable Connect the USB adapter to the Raspberry Pi. Wireless Xbox controllers use a USB wireless adapter.

We still recommend installing it in case you come across an application built around the old xboxdrv driver. Xpad drivers are included with the latest version of Raspberry Pi OS-so this step is technically optional. Get the new official Raspberry Pi OS on your Pi. How to Install Raspberry Pi OS on Your Raspberry Pi
