Hi.
I am using SDK15 and want to control keyboard and mouse using HID with nRF52840.
I used the HID example to verify that the keyboard and mouse work when the button is pressed.
But I want to control the keyboard and mouse according to the flag in "While ()", not the button interrupt.
app_usbd_hid_kbd_key_control(&m_app_hid_kbd, CONFIG_KBD_LETTER, true)
I simply put the above function inside While () but it did not work.
When using nRF24LU1 +, I used "hal_usb_send_data" function to send 5 bytes of data including ReportID. I wonder if nRF52 has same function.
Thank you.