3dscontroller-ng/PC/3DSController.exe
Alex Rowe f5bc0146d7 Added Clamping to Joystick Values
Added Clamp function to general.c
Now clamps all final joystick values to be from 0 - 32767 (2^15 - 1).

Output from the 3ds was giving a strange range on the values, even though the
code expected it to be in the range -128 to 128.

Was more like -146 to 146 on the c-stick, and -170 to 170 on the circle pad.
This may remove some of the resolution of the sticks, but increase compatability with programs.
2017-02-12 15:45:34 -06:00

82 KiB