- PSX EMULATOR ANDROID XBOX CONTROLLER DRIVER
- PSX EMULATOR ANDROID XBOX CONTROLLER MANUAL
- PSX EMULATOR ANDROID XBOX CONTROLLER BLUETOOTH
To get the udev rules 'refreshed', I unplugged and replugged the usb dongle. I suspect only the latter one was needed in the end. Note that I actually put in two sets of rules because the usb vendor ID seemed to change once I had the emulator running, it originally gave me an UNKNOWN USB DEVICE error or some such in the emulator, so watch that the usb ID has not changed. In this I inserted the udev rule suggested in the stackoverflow article:ĪTTRS="5500", TAG+="uaccess" I created a file called 'les' following the article. You will need root privileges for this (choose to open the folder as root in Nemo or use the appropriate method for your OS). You will need to create a file in there with your rules. I think this gives it permission, I'm not sure. This doesn't work straight off, you need to give it a udev rule to be able to talk to the usb port. Where the host is your usb vendor and id from lsusb command. emulator -avd YOUR_VM -qemu -usb -usbdevice host:1234:abcd Navigate to emulator directory in the android sdk. I followed the instructions here, basically: I gather the emulator used with Android Studio is qemu and I found this article: Next stage was to get it working in the Emulator. I did this and it appeared as a PS3 controller (with a different USB id), and it was working in the jstest app!!
PSX EMULATOR ANDROID XBOX CONTROLLER MANUAL
Then I realised I had read in the gamepad manual I might have to switch the controller mode for PC from D-input mode to X-input.
The xbox gamepad showed up but didn't respond. It still didn't seem to do anything, but I needed to test whether it worked so I installed a joystick test app, ' jstest-gtk' using apt-get.
PSX EMULATOR ANDROID XBOX CONTROLLER DRIVER
Yay! That was something at least, so I installed an xbox 360 gamepad driver by using: It was identifying my dongle as an Xbox 360 controller. This gives a list of devices attached, along with a vendor id and device id (takes the form 20bc:5500). It turns out the way to find out what is going on with usb devices is to use the command: I plugged in the usb wireless dongle but no joy.
PSX EMULATOR ANDROID XBOX CONTROLLER BLUETOOTH
Unfortunately I couldn't get the bluetooth working as I didn't have up to date bluetooth, and none of my devices were seeing the gamepad. Firstly the problem of getting the gamepad working and seen under linux, and then the separate problem of getting it seen under the Android emulator (this may work under Windows too). Here is how I solved it, for anyone else facing the same problem. I needed it working in the emulator ideally to be able to debug (as the Android tv box was too far). The problem I faced was that the gamepad worked fine on my Android tv box device, but wasn't working under Linux Mint, let alone in the emulator, and wasn't working via bluetooth on my tablet and phone. So I had bought a Tronsmart Mars G02 wireless gamepad (comes with a usb wireless dongle).
This had proved incredibly difficult, because the Android Studio emulator has no built in support for trying out gamepad functionality. I am writing an Android game and want to put in gamepad support, for analogue controllers. I can't pretend to have a clue what I was doing here, only the procedure I followed in the hope it will help others, I found little information online on this subject. This will be a short technical one for anyone else facing the same problem.