Skip navigation

emUSB-Host—HID Class

  • Communicate with virtually any keyboard & mouse
  • Receive and send data from vendor-specific HID devices
  • Small memory footprint, ideal for embedded devices

emUSB-Host HID

The Human Interface Device class (HID) is an abstract class protocol defined by the USB Implementers Forum. This protocol was defined for the handling of devices which are used by humans to control the operation of computer systems. The class enables the use of input devices such as keyboards, mice, trackballs or touch-controllers.

Keyboards, mice, trackballs, touch-controllers and also joysticks are typical devices which use the HID class.

Typical Applications

  • Keyboards
  • Mice
  • Trackballs
  • Touch-Controllers
  • Joysticks

Types of HIDs

  • "True" HIDs: joystick, mouse, keyboard, trackball, touch-interface
  • HID for data

Example Code Included

Example code which is provided with any shipment or eval software including emUSB-Host. It outputs mouse and keyboard events to the terminal I/O of debugger.

Resource Usage by this Component

ROM usage RAM usage
App. 6 KByte + (emUSB-Host core incl. driver) 64 Byte + < 700 Byte per each device (may vary greatly depending on the device'’s HID report) + (emUSB-Host core incl. driver)