• Ted Mielczarek's avatar
    Input: xpad - add support for Xbox One controllers · 1a48ff81
    Ted Mielczarek authored
    Xbox One controllers require an initialization message to start sending
    data, so xpad_init_output becomes a required function. The Xbox One
    controller does not have LEDs like the Xbox 360 controller, so that
    functionality is not implemented. The format of messages controlling rumble
    is currently undocumented, so rumble support is not yet implemented.
    
    Note that Xbox One controller advertises three interfaces with the same
    interface class, subclass and protocol, so we have to also match against
    interface number.
    Signed-off-by: default avatarTed Mielczarek <ted@mielczarek.org>
    Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
    1a48ff81
xpad.c 35.7 KB