# Re: \[PATCHv3 0/3\] Sixaxis plugin for Bluez

- List: linux-input
- 1 message, 1 author
- Page: https://ratatoskr.run/linux-input/2011/06/8916890/t

## Re: \[PATCHv3 0/3\] Sixaxis plugin for Bluez

- From: Bastien Nocera \<hidden\>
- Date: 2011-06-08 14:33:42 
- Message: https://ratatoskr.run/linux-input/2011/06/8916890.md

```text
On Wed, 2011-06-08 at 15:09 +0200, Antonio Ospite wrote:
> 
>   - When the controller is connected via USB the led is set, but then
> it 
>     goes blinking again waiting for the PS button to be pressed,
> maybe 
>     we should wait for the PS button before setting leds, maybe with
> a 
>     simple blocking read() on the hidraw device.

One hard thing to handle is when the device is already in use via USB,
it should automatically connect via Bluetooth when unplugged. I'm not
sure this works right now (I'm a bit hazy on the interaction with the PS
button tbh).

>   - When the controller is connected via USB after it is working over 
>     BT, it is seen as a second controller and the second led it
> turned 
>     on, should we force BT disconnection on USB connection? 

As we can identify the device uniquely through its bdaddr, I'd say yes.
```
