- Add standard LineageOS license header
- Add SPDX identifier
- Match copyright format with Java files (2023-2025)
- No functional changes to implementation
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
- Reduce resource usage with smaller buffers and optimized code
- Add watchdog thread for automatic recovery from hangs
- Implement configuration file support for runtime settings
- Add dynamic keyboard detection with fallback path
- Improve connection handling with debouncing and backoff
- Enhance power management with proper sleep/wake handling
- Add proper signal handling and resource cleanup
Signed-off-by: Abdulwahab Isam <abdoi94.iq@gmail.com>
* xiaomi-keyboard handles keyboard and tablet angle calculation
* This allows to correctly turn off the keyboard when flipped back.
Change-Id: I9287d2d4c2b0b3fc2ab40d4daf7577521ec8662a