Buttplug.Net
0.1.0-ci0094
This is a prerelease version of Buttplug.Net.
dotnet add package Buttplug.Net --version 0.1.0-ci0094
NuGet\Install-Package Buttplug.Net -Version 0.1.0-ci0094
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Buttplug.Net" Version="0.1.0-ci0094" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Buttplug.Net --version 0.1.0-ci0094
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Buttplug.Net, 0.1.0-ci0094"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Buttplug.Net as a Cake Addin #addin nuget:?package=Buttplug.Net&version=0.1.0-ci0094&prerelease // Install Buttplug.Net as a Cake Tool #tool nuget:?package=Buttplug.Net&version=0.1.0-ci0094&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Buttplug.Net is a buttplug client library written in modern .Net
⚙️ Installation
Stable and prerelease builds are available from Nuget:
- Buttplug.Net: Core buttplug client library
- Buttplug.Net.NewtonsoftJson: Buttplug JSON message converter based on Newtonsoft.Json
- Buttplug.Net.SystemTextJson: Buttplug JSON message converter based on System.Text.Json
📄 Sample
var cancellationToken = CancellationToken.None;
//var converter = new ButtplugNewtonsoftJsonConverter();
var converter = new ButtplugSystemTextJsonConverter();
await using var client = new ButtplugClient("Buttplug.Net", converter);
await client.ConnectAsync(new Uri("ws://127.0.0.1:12345/"), cancellationToken);
Console.WriteLine("Connected");
await client.StartScanningAsync(cancellationToken);
await Task.Delay(2500);
foreach (var device in client.Devices)
await device.ScalarAsync(1, ActuatorType.Vibrate, cancellationToken);
await Task.Delay(1000);
await client.StopAllDevicesAsync(cancellationToken);
More samples available here
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Buttplug.Net:
Package | Downloads |
---|---|
Buttplug.Net.NewtonsoftJson
Newtonsoft.Json based converter for Buttplug.Net |
|
Buttplug.Net.SystemTextJson
System.Text.Json based converter for Buttplug.Net |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Buttplug.Net:
Repository | Stars |
---|---|
Yoooi0/MultiFunPlayer
flexible application to synchronize various devices with media playback
|
Version | Downloads | Last updated |
---|---|---|
0.1.0-ci0094 | 68 | 10/24/2024 |
0.1.0-ci0092 | 162 | 5/25/2024 |
0.1.0-ci0081 | 775 | 3/17/2023 |
0.1.0-ci0080 | 143 | 1/15/2023 |
0.1.0-ci0077 | 184 | 1/14/2023 |
0.1.0-ci0072 | 119 | 1/13/2023 |
0.1.0-ci0066 | 121 | 1/12/2023 |
0.1.0-ci0061 | 114 | 1/11/2023 |
0.1.0-ci0055 | 113 | 1/10/2023 |
0.1.0-ci0052 | 112 | 1/10/2023 |
0.1.0-ci0046 | 117 | 1/9/2023 |
0.1.0-ci0045 | 103 | 1/9/2023 |
0.1.0-ci0043 | 117 | 1/9/2023 |
0.1.0-ci0042 | 114 | 1/9/2023 |
0.1.0-ci0040 | 110 | 1/9/2023 |
0.1.0-ci0031 | 104 | 1/9/2023 |
0.1.0-ci0026 | 107 | 1/9/2023 |
0.1.0-ci0022 | 103 | 1/8/2023 |