mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-05 15:34:28 +01:00
e808f168a1
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 | ||
gamecontrollerdb.txt.go | ||
gamepaddb_ios.go | ||
gamepaddb_notios.go | ||
gamepaddb_test.go | ||
gamepaddb.go |