Skip to content
Snippets Groups Projects
  • James Rowe's avatar
    Input: Remove global variables from SDL Input · 09ac6638
    James Rowe authored
    Changes the interface as well to remove any unique methods that
    frontends needed to call such as StartJoystickEventHandler by
    conditionally starting the polling thread only if the frontend hasn't
    started it already. Additionally, moves all global state into a single
    SDLState class in order to guarantee that the destructors are called in
    the proper order
    09ac6638