Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

HID Technology Guide

HID Technology Guide for Manufacturersfor Developers

Base version:

1.0

This document describes the management of any Human Interface Device (HID) that is connected to a mobile device through its USB interface, including an external keyboard, a game-related device (such as a joystick), and a mouse. Three Brew® MP interfaces, IHID, IHIDDevice, and ISignal, allow the user to set, get, enable, and disable hardware features, and to control input to them.

An HID device can be an external joystick, mouse, keyboard, or other device of unspecified type.

Other documentation resources

For information about hardware features that are built into the form factor of a mobile device (such as its keypad and touchscreen), see the Form Factor Hardware Management Technology Guide, which is available on the Brew Mobile Platform Developer website, at http://developer.brewmp.com/resources (login required).

For complete details about interfaces, classes, datatypes, and methods that are available to Brew MP developers, refer to the Brew Mobile Platform API Reference, which is available both within the Brew MP Documents folder and on the Brew Mobile Platform Developer Network website, at http://developer.brewmp.com/reference/api-all (login required).

High-level architecture

Support for HID devices is implemented in the hardware layer of a mobile device. The OEM layer sends HID device events to the top-visible Brew MP application, and to background applications that have registered to receive events or notifications.

Support for HID devices is implemented in the hardware layer of a mobile device. Brew MP sends HID device events to the top-visible Brew MP application, and to background applications that have registered to receive events or notifications.