Skip to content

Commit

Permalink
Add function for getting input device overrides
Browse files Browse the repository at this point in the history
Only use case in practice for us is ST-V, which forces specific input configs (since it's an Arcade machine)
  • Loading branch information
CasualPokePlayer committed Nov 15, 2024
1 parent 8708fc3 commit 7899c9d
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 1 deletion.
Binary file modified Assets/dll/faust.wbx.zst
Binary file not shown.
Binary file modified Assets/dll/hyper.wbx.zst
Binary file not shown.
Binary file modified Assets/dll/ngp.wbx.zst
Binary file not shown.
Binary file modified Assets/dll/pcfx.wbx.zst
Binary file not shown.
Binary file modified Assets/dll/shock.wbx.zst
Binary file not shown.
Binary file modified Assets/dll/ss.wbx.zst
Binary file not shown.
Binary file modified Assets/dll/turbo.wbx.zst
Binary file not shown.
Binary file modified Assets/dll/vb.wbx.zst
Binary file not shown.
5 changes: 5 additions & 0 deletions waterbox/nyma/NymaCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion waterbox/nyma/mednafen
Submodule mednafen updated 1 files
+12 −0 src/ss/smpc.cpp

0 comments on commit 7899c9d

Please sign in to comment.