feat: implement cyborg joystick bulk write, global timings, and enhanced CLI mapping feedback

This commit is contained in:
Aodhan Collins
2026-02-22 19:43:26 +00:00
parent 18f84a538a
commit d66947ff07
8 changed files with 275 additions and 407 deletions

View File

@@ -89,6 +89,7 @@ struct azeron_stick_config {
bool invert_x;
bool invert_y;
uint8_t response_curve; /* 0=linear, 1=exponential, etc. */
uint8_t angle; /* 0-360, but typically fits in 8 bits? wait. */
};
/* Profile configuration */
@@ -134,6 +135,9 @@ int azeron_device_set_stick_config(struct azeron_device *device,
int azeron_device_get_active_profile(struct azeron_device *device, uint8_t *profile_id);
int azeron_device_set_active_profile(struct azeron_device *device, uint8_t profile_id);
/* Global settings */
int azeron_device_set_global_timings(struct azeron_device *device, uint16_t long_press_delay, uint16_t double_click_delay);
int azeron_device_get_profile(struct azeron_device *device, uint8_t profile_id,
struct azeron_profile *profile);
int azeron_device_set_profile(struct azeron_device *device,