DIY 87-Key Macro Keyboard - Because he has too many keyboard shortcuts!

3 min read 5 hours ago
Published on Jan 31, 2025 This response is partially generated with the help of AI. It may contain inaccuracies.

Table of Contents

Introduction

This tutorial will guide you through the process of creating a DIY 87-key macro keyboard, perfect for those who need extensive macro functionality in their keyboard setup. Whether you're a gamer, a video editor, or simply someone who uses many keyboard shortcuts, this customized keyboard will enhance your productivity and streamline your workflow.

Step 1: Gather Your Materials

To start your DIY project, you'll need to collect all the necessary components and tools.

  • Keyboard Base: An 87-key mechanical keyboard (preferably one that can be disassembled).
  • Switches: Choose your preferred mechanical switches.
  • Keycaps: 87 matching keycaps (check the provided link for images).
  • Microcontroller: A compatible microcontroller to handle the macros.
  • Software: Install AutoHotKey and Luamacros.
  • USB Cable: For connecting your keyboard to your computer.
  • Soldering Kit: If your keyboard requires soldering.

Step 2: Disassemble the Keyboard

Carefully open your keyboard to access the internal components.

  • Remove all keycaps using a keycap puller.
  • Unscrew the back casing and gently lift it off.
  • Disconnect the PCB (printed circuit board) from the casing.

Step 3: Connect the Microcontroller

Integrate the microcontroller to enable macro functionality.

  • Position the microcontroller on the PCB.
  • Follow the wiring diagram provided in the GitHub link to connect the microcontroller to the switches.
  • If soldering is required, ensure a steady hand and clean connections.

Step 4: Install Software

Set up the necessary software to configure your macros.

  • Install AutoHotKey from the official website.
  • Download and install Luamacros from the provided link.
  • Customize your macros using the Lua scripting language or AutoHotKey scripts.

Example code snippet for AutoHotKey:

; Example Macro
^j:: ; Ctrl + J
Send, Hello World!
return

Step 5: Customize Your Key Layout

Design your key layout based on your preferences.

  • Use the provided keycap images as a reference for aesthetics.
  • Decide on the functions for each of the 87 keys.
  • Create a layout map to help visualize your macro assignments.

Step 6: Test Your Keyboard

Before final assembly, ensure everything works as expected.

  • Plug the keyboard into your computer.
  • Test each key to confirm that the macros operate correctly.
  • Make adjustments to the key assignments as necessary.

Step 7: Final Assembly

Once testing is complete, reassemble your keyboard.

  • Carefully place the PCB back into the casing.
  • Screw the casing back together.
  • Replace all the keycaps securely.

Conclusion

Congratulations on building your own 87-key macro keyboard! This customized keyboard not only offers extensive functionality but also enhances your overall productivity. As a next step, explore more complex macro setups and consider sharing your setup with the community. Happy typing!