keyboard: Update reporting logic

Updates the reporting logic to wait for any key press or depress before
reading all keys and sending an update of all of the keys

Signed-off-by: Nicholas Mello <nick@nmello.dev>
This commit is contained in:
2026-07-18 20:32:58 -05:00
parent 6d944dfef3
commit 30f8cda48e
5 changed files with 171 additions and 52 deletions

View File

@@ -13,5 +13,8 @@ embassy-rp = { version = "0.10.0", features = ["chrono", "defmt", "rp2040", "rt"
embassy-sync = { version = "0.8.0", features = ["defmt"] }
embassy-time = "0.5.1"
embassy-usb = { version = "0.6.0", features = ["defmt"] }
embedded-alloc = "0.7.0"
futures-util = { version = "0.3.33", default-features = false, features = ["alloc", "portable-atomic-alloc"] }
panic-probe = { version = "1.0.0", features = ["defmt"] }
portable-atomic = { version = "1.14.0", default-features = false, features = ["critical-section"] }
usbd-hid = { version = "0.10.0", features = ["defmt"] }