Remove unnecessary comments, clean up code

This commit is contained in:
nikrozman committed 2026-03-03 21:42:07 +01:00
1 parent cb433f76c9
commit 8e9a3712ac
16 files changed
+197 -331

No files matched your search

+2 -2
View File
@@ -7,7 +7,7 @@ extern BLEHidAdafruit blehid;
static uint8_t physBtnMask = 0; // bitmask of currently-pressed physical buttons
// ─── Setup ────────────────────────────────────────────────────────────────────
// Setup
void setupPhysicalButtons() {
// Release any held physical buttons before reconfiguring
if (physBtnMask && Bluefruit.connected()) { blehid.mouseButtonRelease(); }
@@ -30,7 +30,7 @@ void setupPhysicalButtons() {
}
}
// ─── Poll and report ──────────────────────────────────────────────────────────
// Poll and report
// Called every loop iteration (before rate limiter) for immediate response.
// Uses active-low logic: INPUT_PULLUP, button connects pin to GND.
void processPhysicalButtons() {