basic controller input from JSL

may need compiles for linux and mac
This commit is contained in:
minenice55
2022-07-19 18:50:35 -04:00
parent 86a4f6efcd
commit 6699e7d98b
27 changed files with 1098 additions and 22 deletions

View File

@ -198,6 +198,8 @@ namespace HeavenStudio
// LateUpdate works a bit better(?) but causes some bugs (like issues with bop animations).
private void Update()
{
PlayerInput.UpdateJoyShocks();
if (BeatmapEntities() < 1) //bruh really you forgot to ckeck tempo changes
return;
if (!Conductor.instance.isPlaying)
@ -526,5 +528,12 @@ namespace HeavenStudio
{
HeavenStudio.GameCamera.ResetAdditionalTransforms();
}
void OnApplicationQuit()
{
Debug.Log("Disconnecting JoyShocks...");
JSL.JslSetCallback(null);
JSL.JslDisconnectAndDisposeAll();
}
}
}