I have completed a mouse program with 52840, but there are some problems at the moment. On some computers, usb will fail to obtain the descriptor, but there is no problem with other mice, some computers the solution is to make up the underlying driver file of the computer, but some can not. Now I don't know where the problem is, can you give me some ideas to solve it? thank you
nrf_drv_clock_init(); nrf_drv_clock_lfclk_request(NULL); app_timer_init(); app_usbd_init(&usbd_config); app_usbd_class_inst_t const * class_inst_generic; class_inst_generic = app_usbd_hid_generic_class_inst_get(&m_app_hid_generic); hid_generic_idle_handler_set(class_inst_generic, idle_handle); app_usbd_class_append(class_inst_generic); class_inst_generic = app_usbd_hid_generic_class_inst_get(&DIY_app_hid_generic); app_usbd_class_append(class_inst_generic); class_inst_generic = app_usbd_hid_generic_class_inst_get(&DIY_app_hid_KB); app_usbd_class_append(class_inst_generic); class_inst_generic = app_usbd_hid_generic_class_inst_get(&DIY_app_hid_DUO); app_usbd_class_append(class_inst_generic); if (USBD_POWER_DETECTION) { app_usbd_power_events_enable(); } else { app_usbd_enable(); app_usbd_start(); }