static void hid_user_ev_handler(app_usbd_class_inst_t const * p_inst, app_usbd_hid_user_event_t event) { switch (event) { case APP_USBD_HID_USER_EVT_OUT_REPORT_READY: { /* No output report defined for this example.*/ ASSERT(0); break; } case APP_USBD_HID_USER_EVT_IN_REPORT_DONE: { m_report_pending = false; hid_generic_mouse_process_state(); bsp_board_led_invert(LED_HID_REP_IN); break; } case APP_USBD_HID_USER_EVT_SET_BOOT_PROTO: { UNUSED_RETURN_VALUE(hid_generic_clear_buffer(p_inst)); NRF_LOG_INFO("SET_BOOT_PROTO"); break; } case APP_USBD_HID_USER_EVT_SET_REPORT_PROTO: { UNUSED_RETURN_VALUE(hid_generic_clear_buffer(p_inst)); NRF_LOG_INFO("SET_REPORT_PROTO"); break; } default: break; } }APP_USBD_HID_USER_EVT_SET_REPORT_PROTO and APP_USBD_HID_USER_EVT_SET_BOOT_PROTO
-
Will the event trigger when the computer is turned on