karalabe / hid

Gopher Interface Devices (USB HID)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compatible with gomobile?

benma opened this issue · comments

commented

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.

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.

commented

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

Probably a safer bet.