Custom USB Programable Keys With STM32 + AHK
A cheap way to add custom buttons to your PC with STM32 and AHK.
A cheap way to add custom buttons to your PC with STM32 and AHK.
By now almost all of my projects included some sort of communication with PC, mostly with external USB-UART bridge chip like MCP2200 or CP210x. Although this devices were mostly prototypes and/or single products, such approach added unwanted costs and since almost all uC that I used already have USB peripheral embedded, there is no excuse not
There is a post (STM32 And Custom USB HID Device? Yes Please!) that gets a lot of attention, although at the time it was created, only vague “how-to” was presented. I decided to break down this to smaller parts of modifying STM32 USB HID code, generated with STM32CubeMx. Here is an example of a basic
Update (Feb 2018): As this post seems to be quite popular, I decided to write a new post for STM32 USB beginners with example code/project where we port CubeMX generated USB HID mouse to USB HID keyboard. Update 2 (Feb 2018): Here is another post about making STM32 USB CDC device. I (Domen) finaly managed