buttplugio / buttplug-rs-ffi

FFI from buttplug-rs to Java and other languages
Other
89 stars 22 forks source link

Guidance building an example JS app #31

Closed highfiiv closed 3 years ago

highfiiv commented 3 years ago

Feature Description I’ve read most of the public info on inteface and syncydync but am stil perplexed by how to develop with it. I’m currently working in Angular and would love to build out some example components which send static and dynamic messages to inteface for controlling video game contoller devices.

Would @qdot be willing to answer questions regarding standard connectivity and communication from the JS app?

I have a few ideas I’d like to build out and would give the work to your community of course.

Clear definition of the feature, possibly including any help you could provide on implementing this feature, or resources you would need help with implementation.

qdot commented 3 years ago

You are just ever so slightly ahead of me right now. I'm working on rewriting the developer guide as we speak, which will cover a lot of these topics. The new version is at

https://dev.buttplug-developer-guide.docs.buttplug.io

I'm just now getting to the "Writing applications" part, which will use the new FFI layer.

Also, I'll say up front that figuring out how to get the WASM stuff to play nicely with webpack is still in a work in progress. I'm porting my own web apps (playground and syncydink) to buttplug-wasm right now in order to iron this out a bit, but it may take some work.

Anyways, yeah, happy to answer questions. Can do it here, though usually it's easier on our discord server: https://discord.buttplug.io

qdot commented 3 years ago

Closing 'cause it's mostly going to be taken care of via documentation.