Buttplug Protocol Implementation - C# .Net Standard/Framework
Buttplug is a framework for hooking up hardware to interfaces, where hardware usually means sex toys, but could honestly be just about anything. Think of it as a userland HID manager for things that may not specifically be HID, but may go in your butt.
Or other places too! We're not completely butt-centric, despite the project name. And logo.
Want to use your sex toys with Movie Players, Games, Etc?
If you're a user that just wants to use your sex toys with pre-existing Buttplug software, check out Intiface Desktop.
Table Of Contents
- Support The Project
- Documentation
- Hardware Support
- Installation
- Development Branches
- Compiling
- Unity Game Engine Support
- Third Party Applications Using Buttplug-C#
- License
Support The Project
If you find this project helpful, you can support us via Patreon or Github Sponsors! Every donation helps us afford more hardware to reverse, document, and write code for!
Documentation
Documentation is available for the Buttplug Protocol and Frameworks, as well as this specific library.
Library Usage Examples
Want to know what using the library looks like in code? The project includes some heavily commented examples!
- Part 1 - Embedded Connectors
- Part 2 - Remote Connectors
- Part 3 - Connection Lifetimes and Ping Timers
- Part 4 - Device Enumeration
- Part 5 - Device Control
- Part 6 - Logging and Error Handling
- Part 7 - Full Example Program
Library API Documentation
API documentation for the current release is available at https://buttplug-csharp.docs.buttplug.io.
API documentation for the current development branch is available at https://buttplug-csharp-dev.docs.buttplug.io.
Buttplug Spec and Documentation
Buttplug implementations are available in multiple languages (rust, javascript, etc)/frameworks/platforms. For a full list of documentation, libraries, and applications, see the buttplug.io website.
Hardware Support
For a full list of supported devices, check out IOSTIndex.
Operating System support is as follows:
Windows 10 - Creators Update (15063, April 2017) or later
- All Devices
Windows 7/8 and 10 pre 15063
- All USB/Serial/Other Devices (No Bluetooth)
Installation
Packages and libraries from the buttplug-csharp repo are available via nuget. Simply run a search for "buttplug", or follow this link to the nuget "buttplug" search.
Development Branches
There are 2 main branches:
- master - The current release code for the library
- dev - The current development code for the library
When submitting patches, they should be based on the current state of the dev branch, and should use dev as their target. The master branch is kept synced to release so our documentation matches expectations.
Compiling
The project should compile with Visual Studio 2017, Visual Studio on Mac (.Net Standard projects only), or Mono on linux (.Net Standard projects only).
Note that for building using Visual Studio on Windows 7/8/10, the project requires the Windows 10 SDK to be installed.
Note that some of the Windows 10 SDK links in the UWP Bluetooth Manager project are hard-linked to the C:\ drive. If your program files and SDKs are not on your C: drive, you may need to readjust these paths by hand.
Unity Game Engine Support
Unity support is provided via a Unity Custom Package file, and is available in the Buttplug Unity Repo.
Applications Using Buttplug C#
- Intiface Desktop - Intiface Desktop sex toy server software
- Intiface Game Haptics Router - Reroute game vibration to sex toys
- ScriptPlayer - Native hardware synced movie player for Windows.
License
Buttplug is BSD 3-Clause licensed. More information is available in the LICENSE file.