#![deny(missing_docs)]
#![forbid(unsafe_code)]
mod device;
mod error;
mod event;
mod keymap;
mod lighting;
mod protocol;
mod transport;
mod types;
#[cfg(target_os = "linux")]
pub use device::Device;
pub use device::{DeviceFileInfo, DeviceInfo, DeviceStatus};
pub use error::{Error, Result};
pub use event::{ButtonState, DeviceEvent, EncoderInput, InputControl, InputEvent};
pub use keymap::{
EncoderControl, JoystickMode, KeymapDocument, KeymapDraft, KeymapIssue, KeymapJoystick,
KeymapLayer, KeymapLayout, KeymapProfile, KeymapSnapshot, KeymapValidation, KeymapWarning,
KeymapWritePlan, Revision,
};
#[cfg(feature = "persistent-writes")]
pub use keymap::{KeymapApplyOutcome, RollbackFailure};
pub use lighting::{BaseLighting, LightingEffect, LightingZone, ThreadLighting};
pub use types::{
ActionId, AgentId, Brightness, DeviceFileName, FirmwareVersion, KeyCode, KeyPosition, LayerId,
ProfileId, RgbColor, Speed,
};
pub const VENDOR_ID: u16 = 0x303a;
pub const PRODUCT_ID: u16 = 0x8360;
pub const SUPPORTED_FIRMWARE: &str = "0.6.2";