public void get_status() { int result = NativeHidApiLibAdapter.hid_write(device, cmd.GetStatus.Pointer, new IntPtr(cmd.GetStatus.Length)); checkResult(result); read(); }
public void fire() { int result = NativeHidApiLibAdapter.hid_write(device, cmd.Fire.Pointer, new IntPtr(cmd.Fire.Length)); checkResult(result); }
public void turnLedOn() { int result = NativeHidApiLibAdapter.hid_write(device, cmd.Led_On.Pointer, new IntPtr(cmd.Led_On.Length)); checkResult(result); }