I am designing a custom keyboard with an LCD display that displays custom messages using STM32F103. I have made the USB HID to work with the code generated from CubeMX. But I am unable to figure out how to send data from computer to the keyboard. As per my understanding, HID protocol is a keyboard to the computer.
Any hint on this is highly appreciated.
P.S. I am planning to use pyusb (python) to send data from computer to keyboard.