Options
All
  • Public
  • Public/Protected
  • All
Menu

buttplug

Index

Variables

Const buttplugSchema

buttplugSchema: any = require("../../dependencies/buttplug-schema/schema/buttplug-schema.json")

Const jsPanel

jsPanel: any = require("jspanel4")

Const jsonValidator

jsonValidator: ValidateFunction = validator.compile(buttplugSchema)

Const logPanelHTML

logPanelHTML: any = require("./LogPanel.html").toString()

Const testPanelHTML

testPanelHTML: any = require("./TestDeviceManagerPanel.html").toString()

Const validator

validator: Ajv = new ajv()

Functions

CheckMessage

  • Parameters

    Returns void

CreateDevToolsClient

CreateDeviceManagerPanel

  • Parameters

    Returns void

CreateLoggerPanel

  • CreateLoggerPanel(): void
  • Returns void

CreateSimpleLinearCmd

  • CreateSimpleLinearCmd(device: Device, position: number, duration: number): LinearCmd
  • Parameters

    • device: Device
    • position: number
    • duration: number

    Returns LinearCmd

CreateSimpleRotateCmd

  • CreateSimpleRotateCmd(device: Device, speed: number, clockwise: boolean): RotateCmd
  • Parameters

    • device: Device
    • speed: number
    • clockwise: boolean

    Returns RotateCmd

CreateSimpleVibrateCmd

  • Parameters

    • device: Device
    • speed: number

    Returns VibrateCmd

FromJSON

  • Parameters

    • str: any

    Returns ButtplugMessage[]

GetSchemaVersion

  • GetSchemaVersion(): number
  • Returns number

MakeMockWebBluetoothDevice

RemoveDeviceManagerPanel

  • RemoveDeviceManagerPanel(): void
  • Returns void

SetupLovenseTestDevice

  • Parameters

    Returns void

SetupTestServer

  • SetupTestServer(): Promise<any>
  • Returns Promise<any>

SetupTestSuite

  • SetupTestSuite(): void
  • Returns void

Generated using TypeDoc