Bluetooth game controller in VM

Post here to get support
Post Reply
CliffH
Beginner
Posts: 28
Joined: Mon Jun 16, 2014 5:45 pm

Bluetooth game controller in VM

Post by CliffH »

I use a Sony PS4 controller over Bluetooth on a MAC, which works great with the CF client. But in the VM, I can not get the controller to work over Bluetooth. The VM does see the controller, but there is an error when trying to connect it to input. Does anyone have ideas for getting it to work?
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: Bluetooth game controller in VM

Post by chad »

I use a PS3 bluetooth controller (on Mac) and I never did figure out how to get it to talk to the VM. I always used a USB cable with the VM up until the point I just decided to do all my flying and developing natively on the Mac. I rarely use the VMs now.
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Bluetooth game controller in VM

Post by arnaud »

The PS4 controller will not work with bluetooth on the VM unfortunately (Ubuntu ships a too old version of the bluetooth stack ....).

As for the PS3 on VM on mac there is a trick: Mac OS X will take control of the HID device and do not let virtualbox take it over. To solve that you can add the gamepad in the VM configuration so that it gets automatically connected to the VM. This will prevent Mac OS X from locking it.
chad
Expert
Posts: 555
Joined: Sun Sep 28, 2014 12:54 am
Location: New York, USA
Contact:

Re: Bluetooth game controller in VM

Post by chad »

arnaud wrote:As for the PS3 on VM on mac there is a trick: Mac OS X will take control of the HID device and do not let virtualbox take it over. To solve that you can add the gamepad in the VM configuration so that it gets automatically connected to the VM. This will prevent Mac OS X from locking it.
Hey! Thanks for the trick Arnaud!!
Crazyflier - my CF journal...
4x Crazyflie Nano (1.0) 10-DOF + NeoPixel Ring mod.
3x Crazyflie 2.0 + Qi Charger and LED Decks.
Raspberry Pi Ground Control.
Mac OS X Dev Environment.
Walkera Devo7e, ESky ET6I, PS3 and iOS Controllers.
Post Reply