Ready to test in Fab
This commit is contained in:
@ -2,13 +2,16 @@ namespace Barcode.Host.Shared.KeyboardMouse;
|
||||
|
||||
public readonly struct KeyPressEvent
|
||||
{
|
||||
public KeyPressEvent(EventCode code, KeyState state)
|
||||
|
||||
public EventCode EventCode { get; init; }
|
||||
public KeyState KeyState { get; init; }
|
||||
public TimeSpan TimeSpan { get; init; }
|
||||
|
||||
public KeyPressEvent(EventCode eventCode, KeyState keyState, TimeSpan timeSpan)
|
||||
{
|
||||
Code = code;
|
||||
State = state;
|
||||
EventCode = eventCode;
|
||||
KeyState = keyState;
|
||||
TimeSpan = timeSpan;
|
||||
}
|
||||
|
||||
public EventCode Code { get; }
|
||||
|
||||
public KeyState State { get; }
|
||||
}
|
Reference in New Issue
Block a user