gweaks, nothing works yet

This commit is contained in:
Joey Yakimowich-Payne 2025-11-24 18:57:56 -07:00
commit 16cac70dba
No known key found for this signature in database
GPG key ID: 6BFE655FA5ABD1E1
3 changed files with 77 additions and 33 deletions

View file

@ -632,6 +632,9 @@ void switch_pro_task() {
if (tud_hid_ready() && send_report(0, inputReport, report_size) == true ) {
memcpy(last_report, inputReport, report_size);
report_sent = true;
// Clear IMU samples so they aren't repeated in the next report
// if no new data arrives.
g_input_state.imu_sample_count = 0;
}
last_report_timer = now;