Buttplug 4.0.0
dotnet add package Buttplug --version 4.0.0
NuGet\Install-Package Buttplug -Version 4.0.0
<PackageReference Include="Buttplug" Version="4.0.0" />
paket add Buttplug --version 4.0.0
#r "nuget: Buttplug, 4.0.0"
// Install Buttplug as a Cake Addin #addin nuget:?package=Buttplug&version=4.0.0 // Install Buttplug as a Cake Tool #tool nuget:?package=Buttplug&version=4.0.0
Buttplug C# - Client Only Implementation
<div align="center"> <h3> <a href="https://buttplug-csharp.docs.buttplug.io"> C# API Docs </a> <span> | </span> <a href="https://docs.buttplug.io/docs/spec"> Protocol Spec </a> <span> | </span> <a href="https://docs.buttplug.io/docs/dev-guide"> Developer Guide </a> </h3> </div> <div align="center"> <h3> <a href="https://how.do.i.get.buttplug.in"> User FAQ </a> <span> | </span> <a href="https://awesome.buttplug.io"> Apps/Games Using Buttplug </a> </h3> </div>
This repo houses are pure .Net version of the Buttplug C# Client, runnings the Version 3 Buttplug Spec. It is expected to run against either Intiface Central (GUI) or Initface Engine (CLI). No Rust FFI bindings are required.
What happened? Why is buttplug-csharp back?
For those of you that have been around a while, you may remember that this used to be the main C# implementation. From 2017 to 2020, it was the reference version of the Buttplug Intimate Haptics Control Standard.
Then I rewrote everything in Rust because I like Rust more and it's far easier for me to port across platforms. This repo was archived ~2 years ago in preference to seating the C# client and server on top of the Rust implementation of Buttplug, as part of the Rust FFI Project.
That project ended up being a partial failure.
While the FFI system is handy for languages where it is very difficult to rebuild some parts of the library (C/C++/Java/etc...), for managed langauges like Javascript and C#, requiring both the client and server to use the FFI was overkill, and caused many extremely difficult-to-debug issues. With that in mind, the C# implementation is being turned into a Client only, .Net native implementation that should run on all platforms.
The embedded server/connector is no longer built for C#. It's too difficult for me to keep the package up for all of the needed architectures, and debugging it was hell. For now, I'm recommending developers point their users at Intiface Central as a hub application. If you have a reason for needing an embedded server in C#, leave an issue on this repo and we can discuss.
Documentation and Examples
API Documentation is available at [https://buttplug-csharp.docs.buttplug.io].
C# Usage Examples are available in the Buttplug Developer Guide, with source code and VS projects in the Dev Guide Repo.
Didn't ManagedButtplugIo already do this?
ManagedButtplugIo is a community produced, .Net native version of the Buttplug C# API, modeled off the FFI (which itself was modeled off of the original C# API). It's been helping the community along while the C# FFI implementation went off a cliff.
They did a very good job and I'm very appreicative of it (and I've used it in some of my own projects)!
The main reason I'm still keeping up my own C# client is that this is a big part of a LOT of the systems I maintain, like the Unity plugin. As part of how I fund this project is consulting on those, I need an implementation I'm responsible for. That said, this doesn't have to be the only implementation, and I'll still be keeping all imeplementations listed both in this README and on our Awesome List
Nuget and Packages
As of v3.1.0, Buttplug is now a single package. Websocket connectors have been moved to System.Net.Websockets and are now included with the base library.
- Buttplug - The Client Implemenation. Only dependency is NewtonsonJSON and Microsoft.CSharp 4.7
Contributing
If you have issues or feature requests, please feel free to file an issue on this repo.
We are not looking for code contributions or pull requests at this time, and will not accept pull requests that do not have a matching issue where the matter was previously discussed. Pull requests should only be submitted after talking to qdot via issues on this repo (or on discourse or discord if you would like to stay anonymous and out of recorded info on the repo) before submitting PRs. Random PRs without matching issues and discussion are likely to be closed without merging. and receiving approval to develop code based on an issue. Any random or non-issue pull requests will most likely be closed without merging.
If you'd like to contribute in a non-technical way, we need money to keep up with supporting the latest and greatest hardware. We have multiple ways to donate!
License
This project is BSD 3-Clause licensed.
Copyright (c) 2016-2024, Nonpolynomial, LLC
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of buttplug nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 is compatible. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- Microsoft.CSharp (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.3)
-
.NETFramework 4.7
- Microsoft.CSharp (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.3)
-
.NETStandard 2.0
- Microsoft.CSharp (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.3)
-
.NETStandard 2.1
- Microsoft.CSharp (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.3)
NuGet packages (9)
Showing the top 5 NuGet packages that depend on Buttplug:
Package | Downloads |
---|---|
Buttplug.Server.Managers.XInputGamepadManager
Adds XInput Device enumeration and vibration/rumble control to Buttplug. (.Net Framework 4.7+ Only) |
|
Buttplug.Server.Managers.UWPBluetoothManager
UWP Bluetooth (Windows 10 15063 Creators Update or Later) device support for Buttplug Servers. (.Net Framework 4.7+ only) |
|
Buttplug.Client.Connectors.WebsocketConnector
Websocket Connection Capabilities for Buttplug Clients. (.Net Standard 2.0+) |
|
Buttplug.Server.Managers.HidSharpManager
Buttplug Server Hid Device and Serial Port Subtype Manager, based on the HidSharp Library. (.Net Framework 4.7+/.Net Standard 2.0) |
|
Buttplug.Server.Connectors.WebsocketServer
Websocket Connection Capabilities for Buttplug Servers. (.Net Framework 4.7+/.Net Standard 2.0) |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Buttplug:
Repository | Stars |
---|---|
RonSijm/ButtFish
Effortlessly transmitting Morse Code of chess moves to your butthole 💝
|
|
FredTungsten/ScriptPlayer
ScriptPlayer is a video player that controls the Handy and lots of other toys in sync with videos.
|
Version | Downloads | Last updated | |
---|---|---|---|
4.0.0 | 540 | 9/6/2024 | |
3.1.1 | 141 | 9/5/2024 | |
3.1.0 | 116 | 9/5/2024 | |
3.0.1 | 3,289 | 7/22/2023 | |
3.0.0 | 2,688 | 12/31/2022 | |
3.0.0-alpha1 | 1,464 | 12/29/2022 | |
3.0.0-alpha0 | 1,364 | 12/29/2022 | |
2.0.6 | 3,997 | 12/10/2021 | |
2.0.5 | 1,647 | 8/29/2021 | |
2.0.4 | 1,271 | 8/21/2021 | |
2.0.3 | 1,828 | 5/17/2021 | |
2.0.2 | 1,370 | 5/15/2021 | |
2.0.1 | 1,274 | 4/25/2021 | |
2.0.0 | 1,269 | 4/23/2021 | |
1.0.18 | 1,443 | 4/4/2021 | |
1.0.17 | 1,224 | 3/22/2021 | |
1.0.16 | 1,483 | 2/20/2021 | |
1.0.15 | 1,317 | 2/16/2021 | |
1.0.14 | 1,272 | 2/13/2021 | |
1.0.13 | 1,331 | 2/8/2021 | |
1.0.12 | 1,360 | 2/7/2021 | |
1.0.11 | 1,440 | 1/25/2021 | |
1.0.10 | 1,242 | 1/23/2021 | |
1.0.9 | 1,274 | 1/20/2021 | |
1.0.8 | 1,419 | 1/10/2021 | |
1.0.7 | 1,571 | 1/9/2021 | |
1.0.6 | 1,293 | 1/5/2021 | |
1.0.5 | 1,241 | 1/2/2021 | |
1.0.4 | 1,395 | 1/2/2021 | |
1.0.3 | 1,354 | 1/1/2021 | |
1.0.2 | 1,326 | 12/31/2020 | |
1.0.1 | 1,312 | 12/28/2020 | |
1.0.0-beta.8 | 263 | 12/23/2020 | |
1.0.0-beta.7 | 470 | 12/14/2020 | |
1.0.0-beta.6 | 241 | 12/12/2020 | |
1.0.0-beta.5 | 270 | 11/30/2020 | |
1.0.0-beta.4 | 219 | 11/26/2020 | |
1.0.0-beta.3 | 236 | 11/23/2020 | |
1.0.0-beta.2 | 336 | 11/22/2020 | |
1.0.0-beta.1 | 264 | 11/21/2020 | |
0.5.9 | 4,530 | 6/18/2020 | |
0.5.8 | 3,433 | 6/17/2020 | |
0.5.7.1027-dev-38e2e28 | 2,710 | 5/14/2020 | |
0.5.7 | 3,451 | 5/14/2020 | |
0.5.6 | 4,043 | 12/11/2019 | |
0.5.5 | 3,544 | 12/7/2019 | |
0.5.4.769-dev-4bb0dd3 | 2,725 | 12/7/2019 | |
0.5.4.766-dev-fa90db1 | 2,766 | 12/7/2019 | |
0.5.4 | 3,598 | 11/27/2019 | |
0.5.3.781-dev-7b367ea | 2,883 | 12/11/2019 | |
0.5.3.778-dev-fb73beb | 2,750 | 12/10/2019 | |
0.5.3.760-dev-f2c0e4b | 2,784 | 11/27/2019 | |
0.5.3.759-dev-7e395cb | 2,716 | 11/27/2019 | |
0.5.3 | 4,705 | 10/4/2019 | |
0.5.1.725-dev-bc25b80 | 2,752 | 11/11/2019 | |
0.5.1.724-dev-7adc8a6 | 2,813 | 11/11/2019 | |
0.5.1 | 3,664 | 9/27/2019 | |
0.5.0.667-dev-fccf1d6 | 2,820 | 9/27/2019 | |
0.5.0.666-dev-9220493 | 2,820 | 9/26/2019 | |
0.5.0.665-dev-f7db350 | 2,677 | 9/26/2019 | |
0.5.0 | 4,706 | 7/29/2019 | |
0.4.7.647-dev-a6c4653 | 3,625 | 7/29/2019 | |
0.4.7.646-dev-74df418 | 3,609 | 7/29/2019 | |
0.4.7.643-dev-29bdc22 | 3,627 | 7/28/2019 | |
0.4.7.639-dev-1b5ec5a | 3,692 | 7/28/2019 | |
0.4.7.638-dev-9372114 | 3,673 | 7/28/2019 | |
0.4.7.637-dev-056d55a | 3,705 | 7/28/2019 | |
0.4.7.636-dev-bf90a31 | 3,604 | 7/28/2019 | |
0.4.7 | 5,074 | 7/1/2019 | |
0.4.6 | 4,063 | 5/28/2019 | |
0.4.5.574-dev-6ea2a60 | 3,242 | 5/28/2019 | |
0.4.5 | 3,927 | 5/26/2019 | |
0.4.4.561-dev-272e417 | 3,254 | 5/26/2019 | |
0.4.4 | 3,930 | 5/21/2019 | |
0.4.3.548-dev-52e1063 | 3,318 | 5/21/2019 | |
0.4.3.545-dev-13b27d1 | 3,242 | 5/16/2019 | |
0.4.3.453-dev-d7cd385 | 3,600 | 4/2/2019 | |
0.4.3.448-dev-b49645e | 3,376 | 3/31/2019 | |
0.4.3 | 4,211 | 3/31/2019 | |
0.4.2.444-dev-a8557c5 | 3,441 | 3/31/2019 | |
0.4.2.412-dev-225d192 | 3,349 | 3/30/2019 | |
0.4.2.398-dev-2f71705 | 3,455 | 3/29/2019 | |
0.4.2.396-dev-cfe4956 | 3,334 | 3/29/2019 | |
0.4.2.378-dev-449c2f0 | 3,340 | 3/28/2019 | |
0.4.2 | 4,140 | 3/16/2019 | |
0.4.1.327-dev-16da3c0 | 3,487 | 3/16/2019 | |
0.4.1 | 4,188 | 3/9/2019 | |
0.4.0.313-dev-8f27d52 | 3,389 | 3/9/2019 | |
0.4.0.295-dev-d91d568 | 3,377 | 3/9/2019 | |
0.4.0.271-dev-7bbe7ce | 3,385 | 3/9/2019 | |
0.4.0.269-dev-3c8ddcd | 3,376 | 3/8/2019 | |
0.4.0.230-dev-4bd083f | 3,422 | 3/5/2019 | |
0.4.0.229-dev-ec7ddfd | 3,362 | 3/5/2019 | |
0.4.0.207-dev-b275ae2 | 3,389 | 3/4/2019 | |
0.4.0.205-dev-d8d9dd8 | 3,451 | 3/4/2019 | |
0.4.0.201-dev-ca5478d | 3,387 | 2/27/2019 | |
0.4.0.173-dev-b926e79 | 3,418 | 2/23/2019 | |
0.4.0 | 4,129 | 2/15/2019 | |
0.3.3.903-master | 2,864 | 1/30/2019 | |
0.3.3.890-master | 2,956 | 1/14/2019 | |
0.3.3.134-master-8df5e8e | 3,432 | 2/15/2019 | |
0.3.3.133-master-1f76aee | 3,458 | 2/15/2019 | |
0.3.3.132-dev-8df5e8e | 3,366 | 2/15/2019 | |
0.3.3.130-dev-1f76aee | 3,443 | 2/15/2019 | |
0.3.3.128-dev-d238a76 | 3,379 | 2/14/2019 | |
0.3.3 | 5,114 | 1/14/2019 | |
0.3.3-dev-54ee365 | 3,766 | 2/14/2019 | |
0.3.2.874-master | 3,018 | 11/24/2018 | |
0.3.2 | 3,425 | 11/24/2018 | |
0.3.1.869-master | 3,039 | 11/9/2018 | |
0.3.1 | 3,518 | 11/9/2018 | |
0.3.0.864-master | 3,010 | 11/4/2018 | |
0.3.0.861-master | 2,999 | 11/4/2018 | |
0.3.0 | 12,647 | 11/4/2018 | |
0.2.3.858-master | 2,902 | 11/4/2018 | |
0.2.3.853-master | 2,989 | 11/3/2018 | |
0.2.3.849-master | 3,483 | 11/2/2018 | |
0.2.3-dev | 2,436 | 11/2/2018 |