Monday, October 3, 2011

[android-developers] USB Host question.

Hello everyone!

Im trying add support for PowerMate in my application(using 3.1sdk).
The device see the Griffin PowerMate, but how to get event from
PowerMate?
It successful connected.
And Im using

final ByteBuffer buffer =ByteBuffer.allocate(24);

final UsbRequest request = new UsbRequest();
request.initialize(mConnection, mEndpointIntr);

But,when Im turning wheel on PowerMate, to left or to right, the bytes
the same, so i dont know how to Understand, when Wheel turned to right
or two left, can someone help me on this? :) Thank you.

Best,
Michael

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment