Skip to content
  • 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
Loading