buttplugio / buttplug-rs-ffi

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

c# ButtplugClient events not firing. #35

Closed kyrahabattoir closed 3 years ago

kyrahabattoir commented 3 years ago

ButtplugClient:ScanningFinished -> Does not appear to fire when a scan is stopped/finished. ButtplugClient:ServerDisconnect -> Does not appear to fire when the intiface websocket server is shut down.

It could be my code, but I don't think I've done anything unorthodox. https://github.com/kyrahabattoir/ToyWebBridge/blob/master/Services/WebsocketService.cs#L112

qdot commented 3 years ago

These got wired up in C#, but not in the Rust FFI layer. I'll make new releases of both packages, will clear this bug when those are up on nuget.

qdot commented 3 years ago

Wow. Ok, no, it wasn't hooked up in buttplug-rs. This will require a full update from the ground up. Glad someone is testing this stuff 'cause I'm sure not, apparently.

qdot commented 3 years ago

Annnnnnd same with ScanningFinished. Only thing that ever registered finishing scans was the Lovense Dongle. Oops.