Skip to content
Snippets Groups Projects
  1. Aug 29, 2020
  2. Aug 27, 2020
    • Lioncash's avatar
      input_common: Eliminate most global state · 9e1b0af2
      Lioncash authored
      Abstracts most of the input mechanisms under an InputSubsystem class
      that is managed by the frontends, eliminating any static constructors
      and destructors. This gets rid of global accessor functions and also
      allows the frontends to have a more fine-grained control over the
      lifecycle of the input subsystem.
      
      This also makes it explicit which interfaces rely on the input subsystem
      instead of making it opaque in the interface functions. All that remains
      to migrate over is the factories, which can be done in a separate
      change.
      9e1b0af2
  3. Aug 26, 2020
  4. Sep 17, 2019
  5. Aug 02, 2019
  6. Jun 06, 2019
    • Lioncash's avatar
      yuzu/configuration: Make all widgets and dialogs aware of language changes · c09ff382
      Lioncash authored
      To prepare for translation support, this makes all of the widgets
      cognizant of the language change event that occurs whenever
      installTranslator() is called and automatically retranslates their text
      where necessary.
      
      This is important as calling the backing UI's retranslateUi() is often
      not enough, particularly in cases where we add our own strings that
      aren't controlled by it. In that case we need to manually refresh the
      strings ourselves.
      c09ff382
  7. Jun 05, 2019
  8. May 19, 2019
  9. Dec 05, 2018
  10. Dec 02, 2018
    • Lioncash's avatar
      yuzu/configuration/configure_input: Default destructor in the cpp file · f3253d0f
      Lioncash authored
      The previous code could potentially be a compilation issue waiting to
      occur, given we forward declare the type for a std::unique_ptr. If the
      complete definition of the forward declared type isn't visible in a
      translation unit that the class is used in, then it would fail to
      compile.
      
      Defaulting the destructor in a cpp file ensures the std::unique_ptr's
      destructor is only invoked where its complete type is known.
      f3253d0f
  11. Nov 30, 2018
  12. Nov 27, 2018
  13. Nov 22, 2018
  14. Nov 19, 2018
  15. Oct 30, 2018
  16. Oct 06, 2018
  17. Oct 03, 2018
  18. Sep 11, 2018
    • Tobias's avatar
      Port #4141 from citra: Joystick hotplug support (#1275) · 804115b2
      Tobias authored
      * Joystick hotplug support (#4141)
      
      * use SDL_PollEvent instead of SDL_JoystickUpdate
      
      Register hot plugged controller by GUID if they were configured in a previous session
      
      * Move SDL_PollEvent into its own thread
      
      * Don't store SDLJoystick pointer in Input Device; Get pointer on each GetStatus call
      
      * Fix that joystick_list gets cleared after SDL_Quit
      
      * Add VirtualJoystick for InputDevices thats never nullptr
      
      * fixup! Add VirtualJoystick for InputDevices thats never nullptr
      
      * fixup! fixup! Add VirtualJoystick for InputDevices thats never nullptr
      
      * Remove SDL_GameController, make SDL_Joystick* unique_ptr
      
      * fixup! Remove SDL_GameController, make SDL_Joystick* unique_ptr
      
      * Adressed feedback; fixed handling of same guid reconnects
      
      * fixup! Adressed feedback; fixed handling of same guid reconnects
      
      * merge the two joystick_lists into one
      
      * make SDLJoystick a member of VirtualJoystick
      
      * fixup! make SDLJoystick a member of VirtualJoystick
      
      * fixup! make SDLJoystick a member of VirtualJoystick
      
      * fixup! fixup! make SDLJoystick a member of VirtualJoystick
      
      * SDLJoystick: Addressed review comments
      
      * Address one missed review comment
      804115b2
  19. Jul 29, 2018
  20. Jan 20, 2018
  21. Jan 16, 2018
  22. Jan 15, 2018
  23. Jan 13, 2018
  24. Apr 09, 2017
  25. Apr 04, 2017
  26. Mar 02, 2017
  27. Mar 01, 2017
Loading