Commit: fdbe933252b1f9ff2a0dca8869433b458a830b20
Parent: 94235472946bb6eb20fc5e39b86a9ddbd43aba0e
Author: Antonio Ospite <ao2@ao2.it>
Committer: Szymon Janc <szymon.janc@gmail.com>
Date: 2014-06-08 15:54:41
Tree: 0472473f56fe1a017583fe250bc46bc8bbbce3e8

plugins/sixaxis: Fix get_js_number() for devices connected via BT Match hid devices and input devices using HID_UNIQ and UNIQ when these are available, this is the correct way to get matching devices when the controllers are connected via BT (UNIQ refers to the device bdaddr, PHYS is the adapter bdaddr, so matching against PHYS will result in all devices with the same LED number). Fall back to HID_PHYS and PHYS when needed, hid devices do not define HID_UNIQ when connected via USB.

Diffstat

M plugins/sixaxis.c | 33 +++++++++++++++++++++++++- - - - - - - -

1 files changed, 25 insertions(+), 8 deletions(-)

View Full Diff | Patch