Skip to content

API Documentation

Nico edited this page Oct 3, 2015 · 15 revisions

Supported Arduinos (IDE 1.6.6 or higher!):

  • Uno (with HoodLoader2)
  • Mega (with HoodLoader2)
  • Leonardo
  • (Pro)Micro
  • Any other 8u2/16u2/at90usb8/162/32u2/32u4 compatible board

Supported HID devices:

  • Keyboard with Leds out (modifiers + 6 keys pressed at the same time)
  • NKRO Keyboard with Leds out (press up to 113 keys at the same time)
  • Mouse (5 buttons, move, wheel)
  • Absolute Mouse
  • Consumer/Media Keys (4 keys for music player, web browser and more)
  • System Key (for PC standby/shutdown)
  • Gamepad (32 buttons, 4 16bit axis, 2 8bit axis, 2 D-Pads)

####Some experiments showed that:

  • Make sure to not use too many HID devices at once. This can cause trouble with some OS.
  • Changing the devices causes driver problems under Windows
  • Mouse + Keyboard + System + Consumer works fine
  • Mouse and Absolute Mouse together dont work fine
  • Mouse Abs only works with system report under special circumstances.
  • Mouse and Gamepad together causes problems
  • Using Gamepad with any other HID device causes trouble
  • All OS have some problems with Gamepads. Dont use more than one device for Linux and be careful when you change the descriptor.
  • RawHID is not working properly, test it at your own risk.
  • XBMC 13.1 (a Media Center, now Kodi) uses Gamepad input. Its seems to not work and may cause weird errors. Even with a standard Gamepad I have these errors. Just want to mention it here.

####More specific key definitions for the HID devices can be found here: