• David Herrmann's avatar
    HID: wiimote: Add drm request · 2cb5e4bc
    David Herrmann authored
    The wiimote reports data in several data reporting modes (DRM). The DRM
    request makes the wiimote send data in the requested drm.
    
    The DRM mode can be set explicitely or can be chosen by the driver. To let
    the driver choose the DRM mode, pass WIIPROTO_REQ_NULL placeholder to it. This
    is no valid request and is replaced with an appropriate DRM.
    
    Currently, the driver always sets the basic DRM_K mode, but this will be
    extended when further peripherals like accelerometer and IR are supported.
    Signed-off-by: default avatarDavid Herrmann <dh.herrmann@googlemail.com>
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
    2cb5e4bc
hid-wiimote.c 12.8 KB