cancel
Showing results for 
Search instead for 
Did you mean: 

Detect key pressed on keyboard usb

oeliks
Senior

I did usb keyboard on stm32 with cubeide. I can send keys to PC. I modified mouse example code generated by cubeide mx to get keyboard HID.

Is there a way to detect what key was pressed on physical keyboard with stm32?

I use firs bit of report to send shift, ctrl, second bit is restricted, third for send keys like "d".

0 REPLIES 0