Karolis Stasaitis
Karolis Stasaitis
I am not an Android user, but I believe [libusb does support Android](https://github.com/libusb/libusb/tree/master/android), so I would guess a [*-linux-android](https://doc.rust-lang.org/beta/rustc/platform-support/android.html#-linux-android-and--linux-androideabi) build of [sinowealth-kb-tool](https://github.com/carlossless/sinowealth-kb-tool) should maybe just work? No idea, really.
Just encountered the same issue with: * `IOUSBHostCILinkState` * `IOUSBHostCIDeviceSpeed` * `IOUSBHostCIEndpointState`
Well, `clang_getEnumDeclIntegerType` definitely returns `unsigned int` for these types, but I'm not sure what makes clang think this way...
Hm, perhaps it's just a difference in how `@encode` and clang see these types and there's nothing actually wrong here. I wonder if these cases could be detected and encoding...