Allrighty mate. I did. Thanks!.
One last question buddy. I was reading your codes and i encountered some confusion.
You previously mentioned that you used the int parameter as containers for your axes.
The values 0 and 1 for Cpad, 2 and 3 for Cstk. In the code, the increment stops when i hits 2 leaving one of the axes assigned at 3 not obtained for use in clampaxis.
![]()
Or Did I overlooked something mate concerning the clamping for the cstk?
I don't fully understand what you mean, so I'll try to explain this again, but differently.
The axis function parameter is only used for getting the AxisConfig for a corresponding axis (CPad/CStick/DPAD - X/Y).
The i(terator) only goes to 2 because AxisConfig contains pairs of values (for negative axis and for positive axis, neutral axis is sent as zero, and is hardcoded this way). Also, for a very slight performance increase for veeeeeery low-end or underclocked devices (like my tablet) using "return 0;" instead of "continue;" for some reason showed a slight performance increase. It makes no sense, but whatever.
The rest should be interpretable with a bit of logic.


