Keypad macro guide / Second keyboard as macro pad

How to Use a Second Keyboard as a Macro Pad on Windows

A spare keyboard sounds like a free macro pad, but Windows blends every keyboard into one input. Here are the two routes that work and what each costs.

Read the full guide
A full keyboard and a small keypad joined by cables to one hub block
This guide
Published byNewSoftwares.net team
PublishedNovember 2026
Last verifiedNovember 2026
Reading time5 min read

Quick answer

Quick answer

Windows does not say which keyboard sent a key, so a plain remap hits every keyboard. Give a programmable keypad unique keys such as F13 to F24, or use a per-device tool like AutoHotInterception for a standard spare keyboard.

At a glance
ProblemRemap only the second keyboard, not the main one
MethodHandoff Rule: let the keypad send unique keys
Works onWindows 10 and Windows 11
Time needed20 to 40 minutes
ToolsAutoHotkey, PowerToys, optional interceptor
Last verifiedNovember 2026

The core problem

Why Windows Cannot Tell Two Keyboards Apart

Windows delivers keystrokes to apps without saying which keyboard produced them. Microsoft’s PowerToys team states it knows of no API that shows the input and its source device, so a remap on one keyboard hits all of them.

That is why a plain spare keyboard cannot become a macro pad with Keyboard Manager alone. Mapping its A key to a shortcut also remaps A on the keyboard you type with. A Microsoft Q&A thread from August 2024 asks the same question, and the answers point to third-party interceptors.

A full keyboard and a small keypad both connected to one hub block
Two keyboards reach the PC as one stream of keys.

Route one

The Handoff Rule: Let the Keypad Announce Itself

If the second device is a programmable keypad, give each button a key no other keyboard sends, such as F13 to F24. Windows then needs no device identity, because the key itself says which button was pressed.

  1. Program the keypad

    Use the maker’s app, VIA or a QMK keymap to send F13 for button one, F14 for button two and so on.

  2. Listen on the Windows side

    Write an AutoHotkey hotkey or a PowerToys shortcut for each key. Microsoft documents F13 to F24 as keys Keyboard Manager can map.

  3. Keep the main keyboard unchanged

    Because the main keyboard has no F13, nothing you type changes.

A key labelled F13 with three arrows pointing to three application windows
One unique key can start a different action in each window.
#Requires AutoHotkey v2.0
F13::Run "calc.exe"
F14::Run "https://www.newsoftwares.net/macro-keys/"

Route two

Per-Device Tools for a Spare Keyboard

A spare standard keyboard has no F13, so it needs a tool that reads input by device. Community projects such as AutoHotInterception, LuaMacros and HIDeous do this on Windows, at the price of an extra driver or a program that takes over the keyboard.

Per-device options for a second keyboard
OptionHow it identifies the keyboardWhat it installsCaveat
AutoHotInterceptionRuns AutoHotkey code for events from a chosen keyboard or mouseThe Interception driverA device ID above 10 can make the keyboard stop working until reboot
LuaMacrosReads the device through HID and passes the key to a Lua scriptA standalone program, often paired with AutoHotkeyThe second keyboard stops typing normally while it runs
HIDeousMatches a device hash you find in its windowA free Windows appCommunity project; check maintenance before relying on it

All three are community projects. Treat them like any driver-level software: read the project page, check recent activity, and avoid them on a PC you do not own. We have not tested them on every Windows build.

Common mistake

Installing a keyboard-intercepting driver on a work PC without asking IT. Many employers treat that as a security change.

The actions side

Where Macro Keys Fits in a Two-Keyboard Setup

Macro Keys handles the actions after the key arrives: expanding triggers, keeping several clipboard items and opening programs from its Hotkey Launcher. It does not read which keyboard sent the key, as far as the product page says.

So pair it with Route one. The keypad sends a unique key or a short typed trigger, and Macro Keys turns that into text or a launch. On the Windows side the pair is free, and you can read what the tool lists on its page before you decide.

Before you commit

Checklist Before You Install a Second-Keyboard Tool

Second-keyboard checklist

Tick each item.

Common question

Second Keyboard Macro Pad: Common Questions

Can I use any spare keyboard as a macro pad on Windows?

Yes, but only with a per-device tool. Windows treats all keyboards as one input, so Keyboard Manager alone remaps both. Tools such as AutoHotInterception filter by device, and they install an extra driver or program.

Does PowerToys let me remap only the second keyboard?

No. The PowerToys documentation says it is not aware of an API that reveals which device a key came from, so mappings apply to every keyboard, including a laptop with an external one attached.

What is the simplest second keyboard setup?

A programmable keypad that sends F13 to F24. Each button announces itself with a key your main keyboard lacks, so any Windows tool can react without telling devices apart.

Will a keyboard-intercepting driver affect my main keyboard?

It can if the wrong device ID is chosen. AutoHotInterception warns that a keyboard ID above 10 can make the device stop working until the next reboot, so find IDs with its monitor tool first.

Does Macro Keys support a second keyboard?

The product page does not describe per-keyboard assignment. Use it for the actions after the key arrives, and let the keypad send keys of its own.

Next step

Pair the Keypad with an Actions Tool

Once each button sends its own key, Macro Keys can supply the text, the clipboards and the program launches that those keys trigger on the PC.

Download the free version