defold-buttplug
May 27, 2022 ยท View on GitHub
Module to work with Buttplug.io in Defold. WIP, so far only HTML5 target.
how to use
This module works with standart Defold html templates.
- Add dependency, learn more in official manual.
- Add require, e.g.
local buttplug = require "buttplug.web"
- Init buttplug
buttplug.init()
You should see "connect" button on your web page after this:

- Click on this button and connect your device, list of devices.
- Vibrate!
buttplug.vibrate(speed, duration)