Simple and compact (5x7 cm) Arduino Pro Micro based macro pad.
For wiring follow these pins definitions and the cartoonish schematic below on the left:
Above shows the initial prototype, the jumper wires came out worse than expected, but at least it is all wired up and working
The Slide Switch is used to put hte MacroPad in mouse mode, where the Joystick and the two smaller push buttons directly under the ProMicro board act as a mouse.
There are 3 LEDs. The orange one is an indicator that the MacroPad is in MouseMode. The 2 other green ones form a binary counter showing the page the MacroPad 6-button matrix is in (resulting in 24 different actions). Of course this number of pages can be increased, but even 4 is quite a lot.
Additionally there is an IR sensor that extends the amount of inputs even more.