We don't have a code example using HID Generic for PSoC 5LP, but we have for PSoC 6. You can refer to the USB Descriptor and replicate it in your PSoC 5LP project.
I found an application note using two endpoints for one HID.
AN82072 - PSoC 3 and PSoC 5LP USB General Data Transfer with Standard HID Drivers
In the section "6 Example Project: Generic Data Transfer via HID" an HID device project is created using Generic HID.
Please check if this document can be used.
thanks !! This was the information that made my application working.