Menu

#967 SDL2 joystick(s) not working when multiple joysticks attached

2.3.0
closed
defect
major
Whole game
2.2.1
fixed
2022-10-17
2016-12-10
beaglejoe
No

With SDL2 and SDL_JOYSTICK enabled, if SDL2 detects more than 1 joystick/wheel/gamepad, none of the controllers are available for configuration or use. Exactly one joystick/wheel/gamepad must be attached for the game to work properly

Related

Tickets: #1206

Discussion

  • beaglejoe

    beaglejoe - 2016-12-10

    Should be fixed by [r6485].
    There is a variable gfctrlJoyPresent that was originally a state indicator for PLIB joystick.
    With the change to SDL (1 & 2), it now coantains the number of attached controllers.
    This was being tested incorrectly. (SDL2 only).

    The attached controller count should probably be kept in a seperate variable.

     

    Related

    Commit: [r6485]

  • beaglejoe

    beaglejoe - 2021-09-02
    • Milestone: 2.3.0 --> 2.4.0
     
  • beaglejoe

    beaglejoe - 2022-10-17
    • Milestone: 2.3.1 --> 2.4.0
     
  • beaglejoe

    beaglejoe - 2022-10-17
    • Milestone: 2.4.0 --> 2.3.1
     
  • beaglejoe

    beaglejoe - 2022-10-17
    • status: new --> closed
    • Milestone: 2.3.1 --> 2.3.0
    • Resolution: --> fixed
     

Log in to post a comment.