feat: add 0xf8 feature report to get firmware version and add config version

This commit is contained in:
awalol
2026-05-14 20:28:22 +08:00
parent 303a58b9c5
commit 58909831e1
6 changed files with 47 additions and 14 deletions
+1
View File
@@ -8,6 +8,7 @@
#include <cstdint>
struct __attribute__((packed)) Config_body {
uint8_t config_version = 1; // Config Version
float haptics_gain; // [1.0,2.0]
float speaker_volume; // [-100,0]
uint8_t inactive_time; // [10,60] min