Joystick feature improvements (#19052)
This commit is contained in:
parent
a5a20cc792
commit
1e95f7be8f
27 changed files with 475 additions and 215 deletions
|
@ -235,11 +235,14 @@ typedef struct {
|
|||
} __attribute__((packed)) report_digitizer_t;
|
||||
|
||||
typedef struct {
|
||||
#if JOYSTICK_AXES_COUNT > 0
|
||||
# if JOYSTICK_AXES_RESOLUTION > 8
|
||||
int16_t axes[JOYSTICK_AXES_COUNT];
|
||||
#ifdef JOYSTICK_SHARED_EP
|
||||
uint8_t report_id;
|
||||
#endif
|
||||
#if JOYSTICK_AXIS_COUNT > 0
|
||||
# if JOYSTICK_AXIS_RESOLUTION > 8
|
||||
int16_t axes[JOYSTICK_AXIS_COUNT];
|
||||
# else
|
||||
int8_t axes[JOYSTICK_AXES_COUNT];
|
||||
int8_t axes[JOYSTICK_AXIS_COUNT];
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue