Add generic buffer handling, usb protocol and usb hid definitions.