public NativeInputEvent(NativeInputEventType type, int sizeInBytes, int deviceId, double time) { this.type = type; this.sizeInBytes = sizeInBytes; this.deviceId = deviceId; this.time = time; }
public NativeInputEvent(NativeInputEventType type, int sizeInBytes, int deviceId, double time) { this.type = type; this.sizeInBytes = (ushort)sizeInBytes; this.deviceId = (ushort)deviceId; this.eventId = 0; this.time = time; }