Interface IInputListener<TInput>
- Namespace
- Backdash.Synchronizing.Input.Confirmed
- Assembly
- Backdash.dll
Listen for confirmed input
public interface IInputListener<TInput> : IDisposable where TInput : unmanaged
Type Parameters
TInput
- Inherited Members
Methods
OnConfirmed(in Frame, ReadOnlySpan<TInput>)
New confirmed input event handler
void OnConfirmed(in Frame frame, ReadOnlySpan<TInput> inputs)
Parameters
frame
Frameinputs
ReadOnlySpan<TInput>
OnSessionClose()
Session End
void OnSessionClose()
OnSessionStart(in IBinarySerializer<TInput>)
Session Started
void OnSessionStart(in IBinarySerializer<TInput> serializer)
Parameters
serializer
IBinarySerializer<TInput>