summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWmain.cpp
diff options
context:
space:
mode:
authorTony Gong <gr8tony@hotmail.com>2022-02-27 09:58:21 -0800
committerTony Gong <gr8tony@hotmail.com>2022-02-27 09:58:21 -0800
commitc95c43bfb6f28861380de41b9c1e7f45ae6243e4 (patch)
tree54277c4be121677263e6ab3ae1bfbd9224d1a9d5 /Source/Core/VideoBackends/Software/SWmain.cpp
parentaa0ac8399765f89b988a3507c0083c598675f6cf (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/VideoBackends/Software/SWmain.cpp')
0 files changed, 0 insertions, 0 deletions