InputCommon: Provide WindowSystemInfo getter for ControllerInterface.

This commit is contained in:
Jordan Woyak 2024-03-11 01:31:05 -05:00
parent b89a88afbc
commit 9941c54911
2 changed files with 7 additions and 0 deletions

View File

@ -423,6 +423,11 @@ ciface::InputChannel ControllerInterface::GetCurrentInputChannel()
return tls_input_channel;
}
WindowSystemInfo ControllerInterface::GetWindowSystemInfo() const
{
return m_wsi;
}
void ControllerInterface::SetAspectRatioAdjustment(float value)
{
m_aspect_ratio_adjustment = value;

View File

@ -122,6 +122,8 @@ public:
static void SetCurrentInputChannel(ciface::InputChannel);
static ciface::InputChannel GetCurrentInputChannel();
WindowSystemInfo GetWindowSystemInfo() const;
private:
void ClearDevices();