mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 11:48:55 +01:00
47de8027b9
SDL interprets this as "map -1 to 1, map 0 to -1", so we should do the same. This fix contains two parts: * Fix the intended output range. * Also fix the formula to map a range to a range. The fix does not change behavior if a "-a" mapping isn't used, as in any other case max-min == 1 or max+min == 0. Fixes #2334 |
||
---|---|---|
.. | ||
button.go | ||
gamecontrollerdb.txt | ||
gamepaddb_test.go | ||
gamepaddb.go | ||
sdl.go |