Hi, I have a similar question. We are developing an app for Android TV and 
using a couple different HID devices. One has axis and buttons and works 
great. The other has only axis and no buttons - and shows up as an HID 
device with the driver, but not as an input device, so we can't get events. 
Any thoughts on how to fix this? Do we need some kind of manifest or 
intent-filter to recognize the device?
Thanks!

On Monday, August 6, 2012 at 3:11:29 PM UTC-7, Dianne Hackborn wrote:

> Currently the only way, outside of test environments, to deliver input 
> events to the platform is throw a kernel input device.  So your USB device 
> must report itself as a HID device (a keyboard, trackpad, mouse, or game 
> controller) which the kernel understands how to interact with and will 
> generate the appropriate low-level events from the input device.
>
> On Mon, Aug 6, 2012 at 6:18 AM, Prabudas <prab...@gmail.com <javascript:>> 
> wrote:
>
>> Hi,
>>
>> I am working on an external HID device for android 4.0 devices. The 
>> device will have a touchpad and hardware buttons to replicate the touch 
>> screen and android buttons(Home, back and menu). To make this device work 
>> with any android 4.0 device, I do not want to modify the build or root the 
>> device. All I can do is, I can write an app (service) which can interact 
>> with this device through USB (using accessory mode v 1.0). So, from that 
>> app, I want to create the necessary events based on the message from USB. 
>> This can be very easy in android 4.1 with accessory mode 2.0. But, I need 
>> this for 4.0. Please help me on this. Thanks in advance.
>>
>> …Prabudas
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-d...@googlegroups.com 
>> <javascript:>
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> -- 
> Dianne Hackborn
> Android framework engineer
> hac...@android.com <javascript:>
>
> Note: please don't send private questions to me, as I don't have time to 
> provide private support, and so won't reply to such e-mails.  All such 
> questions should be posted on public forums, where I and others can see and 
> answer them.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/e05920ec-2f12-4a1a-90a1-84393fa64b68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to