Hi i am trying to make multiple endpoints using the sample code of usb hid mouse mqx k20 but only one endpoint is sending data to pc other endpoint does not initialize. i made 2 interfaces each with one endpoint and used these commands to initialize two different hid devices
g_mouse2.app_handle = USB_Class_HID_Init(&config_struct2);
g_mouse.app_handle = USB_Class_HID_Init(&config_struct);