Repositories (3)

react-buttplug
3 snippets stored for this repo
work correctly both with client-side routing and a non-root public URL.
      Learn how to configure a non-root public URL by running `npm run build`.
    -->
    <title>react-buttplug</title>
  </head>

  <body>
JavaScript IconJavaScript
devices: [],

  /**
   * Flag indicating whether Buttplug is ready. You should wait until this is
   * true before using any buttplug-y functions.
   */
  buttplugReady: false,
JavaScript IconJavaScript
import { useEffect } from 'react'
import { ButtplugClientDevice } from 'buttplug'
import PropTypes from 'prop-types'

/**
 *
 * @param children
maus-link-ui
1 snippets stored for this repo
JavaScript IconJavaScript
import {ReadingsContext} from "../DeviceProvider";
import {ButtplugContext, ButtplugState} from "../DeviceProvider/ButtplugProvider";

const Buttplug = () => {
  const readings = useContext(ReadingsContext);
  const buttplug = useContext(ButtplugContext);
edge-o-matic-3000
1 snippets stored for this repo
JavaScript IconJavaScript
/**
 * This code should send a network request when an orgasm has been denied. However, it is NOT tested!
 * This is just an example of what would be done, but I forgot the exact values and readings coming back from the EoM.