1#![deny(missing_docs)]
16#![deny(rustdoc::bare_urls)]
17#![deny(rustdoc::broken_intra_doc_links)]
18
19mod channel;
20mod device_io;
21
22pub mod backend;
23pub mod backlight;
24pub mod host_lock;
25pub mod inventory;
26pub mod pairing;
27pub mod replay;
28pub mod reprog_controls;
29pub mod session;
30pub mod thumbwheel;
31pub mod write;
32
33pub use backend::{
34 BackendError, HidBackend, HotplugEvent, HotplugStream, NodeId, NodeInfo, RawWriter,
35};
36pub use backlight::{BacklightMode, BacklightState, BacklightStatus};
37pub use channel::route::{
38 DIRECT_DEVICE_INDEX, DeviceRoute, LOGITECH_VENDOR_ID, RECEIVERS, ReceiverBrand,
39 ReceiverDescriptor, ReceiverProtocol, find_receiver, receiver_display_name,
40 speaks_unifying_protocol,
41};
42pub use channel::{ChannelPool, ChannelRegistry, SharedChannel};
43pub use device_io::{DeviceIoGate, DeviceIoSignal, IoSuspended, device_io_channel};
44pub use inventory::hotplug::watch_hotplug;
45pub use inventory::standalone::enumerate_standalone;
46pub use inventory::{Enumerator, InventoryError, enumerate};
47pub use openlogi_core::hid::smartshift;
48pub use openlogi_core::hid::smartshift::{
49 SmartShiftAutoDisengage, SmartShiftMode, SmartShiftStatus, SmartShiftThreshold, TunableTorque,
50};
51pub use pairing::{
52 Click, DiscoveredDevice, PairingCommand, PairingError, PairingEvent, PairingReceiver,
53 PasskeyMethod, ReceiverFamily, ReceiverSelector, list_pairing_receivers, run_pairing, unpair,
54};
55pub use session::gesture::{
56 CaptureChannelSlot, CaptureError, CaptureHost, CaptureSessionFailure, CaptureSessionOutcome,
57 CapturedInput, PendingCaptureRestore, run_capture_session,
58};
59pub use session::host_switch::{
60 HostSwitchError, HostSwitchRestoreOutcome, HostSwitchSessionFailure, HostSwitchSessionOutcome,
61 HostSwitchStopReason, PendingHostSwitchRestore, run_host_switch_session, switch_linked_hosts,
62};
63pub use session::keyboard::{KEYBOARD_KEY_CIDS, run_keyboard_capture_session};
64pub use write::{
65 Dpi, DpiCapabilities, DpiInfo, FeatureEntry, FirmwareEntity, FirmwareEntityInfo,
66 HapticWaveform, HidppFeatureErrorKind, HidppOperation, LITRA_BEAM_PRODUCT_ID,
67 LITRA_GLOW_PRODUCT_ID, LightCommand, LightingMethod, LitraDescriptor, LitraModel,
68 ReprogControlEntry, ScrollReportingTarget, ScrollResolution, ScrollWheelMode, WriteError,
69 apply_litra, commands_for_light_settings, dump_features, dump_firmware_entities,
70 dump_reprog_controls, encode_litra_command, ensure_haptics_armed_on, find_litra, get_backlight,
71 get_backlight_on, get_dpi, get_dpi_info, get_dpi_info_on, get_scroll_wheel_mode,
72 get_scroll_wheel_mode_on, get_smartshift_status, get_smartshift_status_on,
73 litra_model_for_route, matches_litra, play_haptic, play_haptic_on, read_battery_raw,
74 set_backlight_enabled, set_dpi, set_dpi_on, set_fn_lock, set_fn_lock_on, set_keyboard_color,
75 set_keyboard_color_on, set_keyboard_color_with, set_keyboard_color_with_on,
76 set_scroll_inversion, set_scroll_inversion_on, set_scroll_resolution, set_scroll_resolution_on,
77 set_scroll_wheel_mode, set_scroll_wheel_mode_on, set_smartshift, set_smartshift_on,
78 set_smartshift_sensitivity, toggle_smartshift, toggle_smartshift_on,
79};