diff options
| author | Tony Gong <gr8tony@hotmail.com> | 2022-02-27 09:58:21 -0800 |
|---|---|---|
| committer | Tony Gong <gr8tony@hotmail.com> | 2022-02-27 09:58:21 -0800 |
| commit | c95c43bfb6f28861380de41b9c1e7f45ae6243e4 (patch) | |
| tree | 54277c4be121677263e6ab3ae1bfbd9224d1a9d5 /Source/Core/InputCommon/GCAdapter.cpp | |
| parent | aa0ac8399765f89b988a3507c0083c598675f6cf (diff) | |
Make pos/neg analog axes symmetrical
Currently, the axes for the main and C sticks range from 0-255, with
128 being the mid-point; but this isn't symmetrical: the negative axis
has 128 values not including 0, while the positive axis has 127 values
not including 0.
Normalizing so that the range is 1-255 makes the positive and negative
axes symmetrical. The inability to yield 0 shouldn't be an issue as a
real GC controller cannot yield it anyway.
Diffstat (limited to 'Source/Core/InputCommon/GCAdapter.cpp')
0 files changed, 0 insertions, 0 deletions
