Actions (hid.h) should be a struct of 2x 8 bits, as:
struct {
uint8_t id
uint8_t value
} Action
id being the same than now, but also including a value with different meaning depending on context.
That would allow to have a single PROC_PROFILE id, but passing the number of the profile as the value.
The same will apply for PROC_MACRO and PROC_ROTARY_MODE.
Additionally it would allow for new features such as custom axis value on digital buttons (GAMEPAD_AXIS_RZ_VALUE255) and "flickstick-like" mouse binds (MOUSE_X_MOVE100)
Actions (
hid.h
) should be a struct of 2x 8 bits, as:id
being the same than now, but also including avalue
with different meaning depending on context.That would allow to have a single
PROC_PROFILE
id, but passing the number of the profile as the value.The same will apply for
PROC_MACRO
andPROC_ROTARY_MODE
.Additionally it would allow for new features such as custom axis value on digital buttons (
GAMEPAD_AXIS_RZ_VALUE
255
) and "flickstick-like" mouse binds (MOUSE_X_MOVE
100
)