karalabe / hid

Gopher Interface Devices (USB HID)
Other
266 stars 132 forks source link

Compatible with gomobile? #9

Closed benma closed 7 years ago

benma commented 7 years ago

Hi

Thank you for this amazing package.

Would you know if this library can be used together with gomobile bind to access usb devices on android/ios?

I am trying it, it compiles fine, but I get zero results from the Enumerate(0,0) call.

Thanks.

karalabe commented 7 years ago

Not sure to be honest. We do use the package inside go-ethereum, which does have Android bindings, but I don't think we ever tested actual USB access on a mobile device.

benma commented 7 years ago

Thanks. I think I am going with a bridge to USBManager etc. from Android.

karalabe commented 7 years ago

Probably a safer bet.