• Bastien Nocera's avatar
    HID: force hiddev creation for SONY PS3 controller · 0887b4cb
    Bastien Nocera authored
    The device is not discoverable, and needs to be poked to set its master, the
    Bluetooth device it will try to connect to when the "Home" button is pressed
    without a cable plugged in.
    
    Using libusb means disconnecting the device from its driver to get the report
    descriptor. Using hiddev, we can poke it without relinquishing control over it,
    so when you plug it in, it would still work as a pad.
    
    This could be then used by sixpair program, after it is rewritten to use
    hiddev instead of libusb.
    Signed-off-by: default avatarBastien Nocera <hadess@hadess.net>
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
    0887b4cb
hid-quirks.c 43.7 KB