HID keyboard - which library

Hi,

I have a 32u4 based board I want to behave as a keyboard.

I thought this could be achieved by using Arduino’s keyboard library, but then I stumbled upon this page:

https://www.arduino.cc/en/Reference/HID

which says to use an external library such as NicoHood’s HID library.

My question is: What can I achieve with for example NicoHood’s library that I can’t with the Arduino keyboard library? And why do I need an external library at all?

You can just use the Keyboard library. The HID library will allow you to do more advanced USB applications but will also be more complicated. If all you need to do is emulate a keyboard then there's no need for it.

SomethingClever: https://www.arduino.cc/en/Reference/HID

which says to use an external library such as NicoHood's HID library.

All that's saying is that the HID library is not intended to be used directly by itself. It's intended to be a dependency of other libraries which provide a user friendly interface. The Keyboard and Mouse libraries are some such libraries.

Thank you!

Yes, all I want is to emulate a normal plug and play keyboard.