buttplug-rs-ffi
buttplug-rs-ffi copied to clipboard
FFI from buttplug-rs to C#, Javascript/Typescript, Java, Python, and other languages
`getrandom` [was recently updated](https://github.com/rust-random/getrandom/blob/v0.2.8/CHANGELOG.md#028---2022-10-20) to prioritise the Web Cryptography API even when Node.js is present. This makes it compatible with NW.js, which is a hybrid environment of Chromium and Node.js...
**Describe the bug** All the imports from "buttplug" are undefined when loading the library with Webpack 5 without transpiling dependencies. An example of the error message shown: `TypeError: buttplug__WEBPACK_IMPORTED_MODULE_4__.buttplugInit is...
**Feature Description** I can generate a `buttplug.min.js` with `yarn build:publish` -- this is good. However, I don't know how to generate the `1.buttplug.min.js` and the wasm module. Maybe it is...
**Describe the bug** When trying to upgrade Buttplug NPM library from 1.0.14 to latest (1.0.17) I'm getting the following error when building the JS library: Error: ./node_modules/buttplug/dist/module/buttplug-rs-ffi/buttplug_rs_ffi_bg.js Module not found:...
**Describe the bug** The `scanningfinished` event seems to be emitted at the wrong time. It seems to be emitted *before* the scanning actually starts. **Expected behavior** In particular if I...
**Feature Description** Right now, the path to the Buttplug JS files is fixed, so if loading the library outside of the normal browser environment (user-scripts, etc) or you want to...
**Feature Description** Need to add a README and basic build info on the Java FFI.
This adds native bindings for NodeJS, instead of depending on a WASM build. The WASM build is still used for the browser. I also added a script to run on...
**Feature Description** See #70, just putting this here in case I forget to look at PRs.