Open marcos-diaz opened 4 months ago
I was half way fixing this when I realized that the proper way to solve it is having 2 different action identifiers per axis, for example
GAMEPAD_AXIS_LY
GAMEPAD_AXIS_LY_EMULATE_VALUE
That way there is no ambiguity when processing the actions on the analog virtual buttons, which becomes a problem when doing a simple fix for this.
Related to #118
I was half way fixing this when I realized that the proper way to solve it is having 2 different action identifiers per axis, for example
GAMEPAD_AXIS_LY
(actual analog axis as is defined now)GAMEPAD_AXIS_LY_EMULATE_VALUE
paired with an additional 8bit value (how digital-to-analog should be defined).That way there is no ambiguity when processing the actions on the analog virtual buttons, which becomes a problem when doing a simple fix for this.
Related to #118