I am designing an arduino based joystick, which works fine with an arduino micro. Now I would like to shrink the project a bit further, and thought about designing a pcb which would include the microcontroller and all the required components.
My first thought was to use the Atmega 32u4 as the Arduino micro does. But the price is a bit higher than I expected.
My question if there is an alternative to this chip which has a built in USB and can show itself to the PC as joystick. I don't need a ton of functionality, just 14 GPIO pins and the USB connection and that I can program it using the Arduino IDE.
I might end up using the 32u4 but I thought I would ask here first
Thanks in advance for any help best regards,