3D model · Printables

Simple DIY Macro Keyboard [3/4 Key's]

Model details

Platform
Printables
Price
Free
License
see the platform page
The author sets the terms — check them on the model page before printing for sale.
Formats
STLSTEP
  • 10 Likes
  • 68 Downloads
  • 0 Makes
  • 1 Comments
  • 920 Views

Author:DIY LAB Austria

Published

Description

A very simple 3, or 4 Key Macro Keyboard Design

Hardware

- Cherry MX (like) Keys - Arduino Pro Micro

Code It doesn't get any easier really, create a new Arduino file with just this in, edit the Pins and actual Commands, and upload it to the Board, as easy as that you got yourself a simple macro Keyboard!

int buttonPin1 = 1; // Set a button to any pin int buttonPin2 = 2; // Set a button to any pin ...

void setup() { pinMode(buttonPin, INPUT); // Set the button as an input digitalWrite(buttonPin, HIGH); // Pull the button high }

void loop() { if (digitalRead(buttonPin1) == 0) // if the button goes low { Keyboard.write('ü'); // send character '$' delay(100); // delay }

if (digitalRead(buttonPin2) == 0) // if the button goes low { Keyboard.write('p'); // send character '$' delay(100); // delay }

if (digitalRead(buttonPin3) == 0) // if the button goes low { Keyboard.write('i'); // send character '$' delay(100); // delay ... }

Tags

Comments 0

Loading comments…

More like this

Similar models

Names are used only to indicate the source of a result. Polyzon is not affiliated with the listed sites.