1. 13 Jun, 2013 3 commits
    • Bryant's avatar
      Added an inversion checkbox for each joystick axis so they can be individually... · 90c4d504
      Bryant authored
      Added an inversion checkbox for each joystick axis so they can be individually inverted or not. This will be a joystick-specific configuration and independent of the autopilot used. Also refactored the code so that the JoystickAxis objects connect directly to the JoystickInput thread for updating the backend. The JoystickWidget is now just a facilitator and doesn't do any redirecting itself.
      90c4d504
    • Bryant's avatar
      The hat readings from the joystick now works correctly. Also moved some... · c8647cc0
      Bryant authored
      The hat readings from the joystick now works correctly. Also moved some signals over to using an enum from an int type.
      c8647cc0
    • Bryant's avatar
      Refactored much of the joystick interface with the largest changes being the... · ff2c011d
      Bryant authored
      Refactored much of the joystick interface with the largest changes being the removal of dead/unused code including broken event-based SDL reading code. Additionally the mapping code should now work, though it hasn't been tested with controller switching or a real UAS. Finally the existing settings code has been commented-out as it is not compatible with the current state of this code and needs to be able to support different joysticks based on name.
      ff2c011d
  2. 12 Jun, 2013 1 commit