Macro Keypad


Macro Keypads are great for repetitive tasks. With programs like Auto Hotkey, the customizability options are extensive. Personally, I use it for populating forms with AHK’s GUI feature.
This Macro Keypad I made includes a custom PCB, 3D-Printed Case (PETG), headphone charging compartment, and hot-swappable switch sockets. It runs on an ATMega32 (Arduino ProMicro).
Schematic Link to heading
Code Link to heading
//Example for COPY (CTRL + C)
#include <Keyboard.h>
#include <Mouse.h>
bool copy = true;
void setup()
{
pinMode(2, INPUT);
Serial.begin(9600);
}
void loop()
{
copy = digitalRead(2);
if (copy==false)
{
Keyboard.press(KEY_LEFT_CTRL);
Keyboard.press('c');
Keyboard.releaseAll();
while (copy == false){
copy = digitalRead(3);
}
delay(10);
}
}