]> Shamusworld >> Repos - virtualjaguar/commit
Added analog axis support to Gamepad module.
authorShamus Hammons <jlhamm@acm.org>
Sun, 24 Feb 2013 03:31:41 +0000 (21:31 -0600)
committerShamus Hammons <jlhamm@acm.org>
Sun, 24 Feb 2013 03:31:41 +0000 (21:31 -0600)
commit9d399cea8466c7e4a6a1336dafdc830c4680d977
tree3eaa5464d4d2c391382f50d8d1eefe8fa2f57727
parent10d7ab1fb217c01030a0b637f9a571c1faf61ede
Added analog axis support to Gamepad module.

This is necessary because some gamepads that have directional pads don't
report as a hat (which you would expect) but report themselves as
analog axes that provide only the extreme ends of each axis. Such
"digi-log" joysticks should now work and be configurable.
src/gui/controllerwidget.cpp
src/gui/controllerwidget.h
src/gui/gamepad.cpp
src/gui/gamepad.h
src/gui/keygrabber.cpp
src/gui/mainwin.cpp
src/settings.h