Skip to content

Improve GameController joystick support a bit.

Jeremy Whiting requested to merge work/whiting/improvejoysticksupport into master

Since SDL gives us which axes are being manipulated expose the left and right axes as Position widgets directly.

This also removes the unused Gamepad class and adds GameController event support to the Device class which handles both Joystick and GameController events now. For devices that are gamecontrollers we get duplicate events, but they match, so it's fine.

Edited by Jeremy Whiting

Merge request reports

Loading