diff --git a/src/keyboard.rs b/src/keyboard.rs index 7681dd3..02d56ab 100644 --- a/src/keyboard.rs +++ b/src/keyboard.rs @@ -15,7 +15,7 @@ use std::time::Duration; use anyhow::{Context, Result}; use hidapi::HidApi; -use log::{debug, error, info, trace, warn}; +use log::{debug, error, info, trace}; use crate::protocol::{Packet, PACKET_SIZE, USAGE_ID, USAGE_PAGE}; diff --git a/src/protocol.rs b/src/protocol.rs index 9b0e440..cef9210 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -1,6 +1,12 @@ // Copyright 2026 rootiest // SPDX-License-Identifier: GPL-3.0-or-later +// This module defines the complete shared protocol including constants and +// constructors reserved for future features (numpad, active-app, ACK). +// Suppressing dead_code here is intentional — these items will be used once +// the corresponding firmware and host features are implemented. +#![allow(dead_code)] + //! Shared Raw HID packet protocol. //! //! All constants and layout MUST match `hid_protocol.h` in the QMK keymap.