清理项目目录,引入 InputModule 做多平台输入适配

This commit is contained in:
SepComet
2026-06-16 17:09:19 +08:00
committed by basil
parent d28ccaa7f9
commit 29c4468d54
227 changed files with 16702 additions and 2059 deletions
@@ -0,0 +1,33 @@
namespace SepCore.InputModule
{
public readonly struct RebindResult
{
public RebindResult(
RebindStatus status,
InputContextId contextId,
InputActionId actionId,
int bindingIndex,
string path,
string previousPath)
{
Status = status;
ContextId = contextId;
ActionId = actionId;
BindingIndex = bindingIndex;
Path = path ?? string.Empty;
PreviousPath = previousPath ?? string.Empty;
}
public RebindStatus Status { get; }
public InputContextId ContextId { get; }
public InputActionId ActionId { get; }
public int BindingIndex { get; }
public string Path { get; }
public string PreviousPath { get; }
}
}