InputCommon: Introducing the "Dynamic Input Texture". Configuration links an emulated input action to an image based on what host key is defined for that emulated input. Specific regions are called out in configuration that mark where to replace an input button with a host key image.

This commit is contained in:
iwubcode 2019-08-17 14:40:58 -05:00
commit fd3af4c5d3
24 changed files with 1114 additions and 9 deletions

View file

@ -259,6 +259,9 @@ public:
void BeginUIFrame();
void EndUIFrame();
// Will forcibly reload all textures on the next swap
void ForceReloadTextures();
protected:
// Bitmask containing information about which configuration has changed for the backend.
enum ConfigChangeBits : u32
@ -410,6 +413,8 @@ private:
void FinishFrameData();
std::unique_ptr<NetPlayChatUI> m_netplay_chat_ui;
Common::Flag m_force_reload_textures;
};
extern std::unique_ptr<Renderer> g_renderer;