Trackball Pointer Mode & driver rewrite (#453)

This commit is contained in:
Shadowtrance
2026-01-24 02:30:13 +10:00
committed by GitHub
parent 01ffe420eb
commit b8214fd378
15 changed files with 850 additions and 209 deletions
@@ -5,11 +5,10 @@
namespace tt::settings::keyboard {
struct KeyboardSettings {
bool backlightEnabled;
uint8_t backlightBrightness; // 0-255
bool trackballEnabled;
bool backlightTimeoutEnabled;
uint32_t backlightTimeoutMs; // Timeout in milliseconds
bool backlightEnabled = true;
uint8_t backlightBrightness = 127; // 0-255
bool backlightTimeoutEnabled = true;
uint32_t backlightTimeoutMs = 60000; // Timeout in milliseconds
};
bool load(KeyboardSettings& settings);