- Added support for Single, Long, and Double press actions in libazeron. - Mapped Cyborg surgical command IDs (0x20F6, 0x20F8, 0x204A). - Updated azeron-cli to support --long and --double mapping flags. - Updated protocol documentation with newly discovered Cyborg commands. - Added TODO.md for remaining joystick and timing tasks.
1.2 KiB
1.2 KiB
Azeron Cyborg Linux Support - Remaining Tasks
Protocol Implementation
- Joystick Bulk Write (
0x26EC): Implementazeron_protocol_set_stick_configusing the new bulk write format.- Map mode byte (index 3).
- Map stick angle (index 8).
- Map deadzone/sensitivity.
- Global Timings (
0x2000): Implement a function to set Long Press and Double Click delays. - Verify Read Configuration: Confirm if
0x26FBworks for Cyborg or if a new read command is required (Heartbeat showed0x12EA/EBpairs). - Surgical Button Persistence: Verify if
0x204B(Commit) is sufficient for all surgical updates or if0x26EDis needed.
CLI Enhancements
- Joystick Commands: Add
set-stick-modeandset-stick-angle. - Timing Commands: Add
set-delays --long <ms> --double <ms>. - Action Feedback: Update
show-mappingsto display all three actions (Single, Long, Double) per button.
Testing & Validation
- Linux Verification: Test all surgical updates (
0x20F6/F8/4A) usinglibusbon Linux. - Persistence Check: Ensure settings survive a device power cycle.
- Input Monitoring: Verify that Linux input events (EV_KEY) correctly match the new mappings.