Skip to content

16-bits action identifiers #118

@marcos-diaz

Description

@marcos-diaz

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_VALUE 255) and "flickstick-like" mouse binds (MOUSE_X_MOVE 100)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions