This commit is contained in:
陈思海 2025-12-05 19:05:46 +08:00
parent cfecafd678
commit 0102406668

View File

@ -78,8 +78,7 @@ public static class InputDeviceWatcher
OnDeviceChanged = null; OnDeviceChanged = null;
initialized = false; initialized = false;
} }
// ------------------ 监听输入 --------------------
private static void OnAnyInputPerformed(InputAction.CallbackContext ctx) private static void OnAnyInputPerformed(InputAction.CallbackContext ctx)
{ {
if (ctx.control == null || ctx.control.device == null) return; if (ctx.control == null || ctx.control.device == null) return;