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:
parent
8708fc3e35
commit
7899c9ddce
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.
|
@ -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
|
Loading…
Reference in New Issue