Arduino acting as a HID

There are other projects out there as well using the ATMega328P chip as a USB device, such as the Virtual Keyboard here

http://www.practicalarduino.com/projects/virtual-usb-keyboard

And someone has made an adaption, not sure if it's working with the latest IDE