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.
Problem Few years ago I started with Keil + STM32 dev boards. Than STM32CubeMX was released and I started using it, generating Keil project as output. This was good enough for a couple of years, until Keil free version code size limit became a problem. Than I discovered VS Code editor and with a little effort,
UPDATE (29.12.2021): after a couple of weeks of testing, I can confirm that all he things covered in this project are now replaced (and even better) with VS Code Makefile tools plugin. Anyway, 3 years in a such rapid changing SW development world, I consider this project a success, even though closed. This is
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