Add function for getting input device overrides

Only use case in practice for us is ST-V, which forces specific input configs (since it's an Arcade machine)
This commit is contained in:
CasualPokePlayer 2024-11-14 19:44:36 -08:00
parent 8708fc3e35
commit 7899c9ddce
10 changed files with 6 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -285,6 +285,11 @@ ECL_EXPORT SystemInfo* GetSystemInfo()
return &SI;
}
ECL_EXPORT const char* GetInputDeviceOverride(uint32_t port)
{
return Game->DesiredInput.size() > port ? Game->DesiredInput[port].device_name : nullptr;
}
ECL_EXPORT const char* GetLayerData()
{
return Game->LayerNames;

@ -1 +1 @@
Subproject commit 33165f0cfe30eb9cab3b61b3666cd9dbf8b1a204
Subproject commit 382ff1b8d293c9a862497706808cbb79b2cecbfb