logitech_led_sdk/
target_device.rs

1use crate::sys;
2
3bitflags::bitflags! {
4    /// Select target devices by color types.
5    ///
6    /// This is a bitflag, so feel free to select multiple at once.
7    #[repr(transparent)]
8    #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
9    pub struct TargetDevice: u32 {
10        const Monochrome = sys::LOGI_DEVICETYPE_MONOCHROME;
11        const PerKeyRgb = sys::LOGI_DEVICETYPE_PERKEY_RGB;
12        const Rgb = sys::LOGI_DEVICETYPE_RGB;
13        const All = sys::LOGI_DEVICETYPE_ALL;
14    }
15}