sdl-joystick: process axis of any stick
commit9979355d79ea54d1804417ebb4068a9d45f73e5e
authorrofl0r <rofl0r@users.noreply.github.com>
Wed, 8 Sep 2021 14:51:50 +0000 (8 14:51 +0000)
committerrofl0r <rofl0r@users.noreply.github.com>
Wed, 8 Sep 2021 14:51:50 +0000 (8 14:51 +0000)
treec85ed6eb71f7e86cc59c15ea935162d650bdcb8f
parentbb078ee94e2cc2203f99047f52195b8a613c51e5
sdl-joystick: process axis of any stick

modern gamepads can have several analog sticks, where the x-axis is
always even, and y-axis odd (i'm not sure about flight-style controllers
having a z-axis, however i don't see anyone using them with gnuboy).
sys/sdl2/sdl-joystick.c