Use a Second Keyboard as a Macro Pad on Windows

NewSoftwares.net editorial teamLast verified: November 2026

Quick answer

Plug in a spare USB keyboard, install a listener such as LuaMacros or HID Macros that captures that one device, and bind each key to a macro. Test a single key before binding the rest.

A second keyboard used as a macro padMain keyboardF13F14F15F16F17F18F19F20Second keyboardScript

At a glance

Applies to
Windows 10 and 11
Time needed
30 to 45 minutes
Difficulty
Intermediate
Cost
Spare keyboard plus free software
Admin needed
May help
Last verified
November 2026

How a Second Keyboard Becomes a Macro Pad

Windows treats every keyboard the same, so extra software must tell the second keyboard apart and run a macro when its keys are pressed. A cheap USB keyboard or number pad then becomes a dedicated macro pad.

A keypad layout and its macro legendF13F14F15F16F17F18F19F20F21F13 = Paste IDF14 = DateF15 = SignF16 = Open appF17 = SaveF18 = Next rowF19 = UndoF20 = FindF21 = Tab 3x
A second keyboard sends its own key codes to a listener that runs the macro.

The idea is simple. The main keyboard types as usual. The second one never types, and every key on it starts a task instead. Because the keys are physical and always in the same place, you stop remembering shortcut combinations.

Software That Can Tell Two Keyboards Apart

Standard hotkey tools see all keyboards as one. Utilities such as LuaMacros and HID Macros listen to a chosen device and run scripts for it. Each is community software, so read its own documentation and check it against your Windows version.

  • LuaMacros: assigns Lua scripts to keys on a chosen keyboard.
  • HID Macros: intercepts input from a selected HID device and maps it to actions.
  • AutoHotkey with a helper: the AutoHotkey community maintains approaches for per-device hotkeys, which need extra setup.

Setup Order for a Second Keyboard

Plug in the spare keyboard, choose the listener software, bind one key to one harmless action, then add the rest. Testing a single key first saves a long troubleshooting session.

  1. Plug in the second keyboard and confirm Windows lists it in Device Manager.
  2. Install the listener and select the second keyboard as the device to capture.
  3. Bind one key to a harmless macro, such as typing a line of text in Notepad.
  4. Press the key on each keyboard to confirm only the second one triggers it.
  5. Label the keys with tape or a printed overlay, then add the rest.

Limits to Know Before You Buy

Per-keyboard capture needs extra software that runs at startup, can conflict with other input tools and may not work inside apps that run as administrator. Keep expectations modest, and test with your real apps first.

How a second keyboard reaches a macroSecond keyboardDevice filterHotkeyMacro toolWindows merges all keyboards into one stream, so a filter has to split the second one out firstThe filter turns each key into an unused key such as F13 to F24
Signal path from the pad to the app: every extra layer is a place to fail.

If a purpose-built macro pad with onboard memory suits your budget, it avoids the listener entirely, though it adds cost and its own configuration software.

Macro Pad Questions

Can I use any USB keyboard as a macro pad?

Usually yes, if the listener software can identify it. Test one key before you rely on it.

Does this work on laptops?

Yes, with an external USB keyboard or number pad. The laptop’s built-in keyboard stays the main one.

Will it work in games?

Not reliably. Some games reject sent input. Check the game’s rules first.

Is a purpose-built macro pad better?

It avoids listener software and keeps macros on the device, but it costs more.

Keep Reading