public void Reset() { USBCore.Reset(); mode = Mode.Command; dataBackend.Position = 0; bytesToWrite = 0; writeCommandDescriptor = null; }
public void Reset() { USBCore.Reset(); Array.Clear(sramBuffer, 0, sramBuffer.Length); Array.Clear(flashBuffer, 0, flashBuffer.Length); flashOffset = 0; sramReadOffset = 0; sramWriteOffset = 0; sramBytesLeft = 0; binaryLength = 0; binarySync.Reset(); }
public void Reset() { buttonState = 0; USBCore.Reset(); }
public void Reset() { USBCore.Reset(); modifiers = 0; pressedKey = 0; }