libinput_device_led_update

Function libinput_device_led_update 

Source
pub unsafe extern "C" fn libinput_device_led_update(
    device: *mut libinput_device,
    leds: libinput_led,
)
Expand description

@ingroup device

Update the LEDs on the device, if any. If the device does not have LEDs, or does not have one or more of the LEDs given in the mask, this function does nothing.

@param device A previously obtained device @param leds A mask of the LEDs to set, or unset.