This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

USB KEYBOARD DRIVER ISSUE



Hi,

I'm working on a project where I'm connecting a USB keyboard to one USB port on STM32F746NG-discovery board and one USB port is connected to the PC. Here I can send data to the PC but I am not able to get data from PC side to know whether the toggle keys(caps lock,num lock,scroll lock) have been pressed or not.

I didn't get any USB keyboard driver for device mode.
I have modified USB mouse driver by adding USB keyboard's descriptor. But it is not working at all.

Does anyone have USB keyboard sample code ?
Whether the keyboard is receiving any data or it is simply sending ?

Regards
Neha