Guide / Program a macro keyboard
Program a Macro Keyboard: Keypad, Second Keyboard or Macro Pad
Programming a macro keyboard means choosing what each key sends and then choosing what that output does. This page covers four hardware types on Windows 10 and Windows 11, from keypads with onboard memory to a spare standard keyboard.
To program a macro keyboard, assign each key an output the main keyboard never sends, such as F13 to F24, in the keypad’s own configurator, then bind actions to those outputs on the PC. A spare standard keyboard needs a per-device tool such as HIDeous instead.
| Applies to | Keypads, spare keyboards and numpads on Windows 10 and 11 |
|---|---|
| Time needed | 15 to 30 minutes |
| Difficulty | Easy for onboard-memory keypads, moderate for per-device tools |
| Cost | Hardware cost; the software named here is listed without a purchase price |
| Needs admin or internet | No admin for HIDeous or onboard keypads |
| Last verified | November 2026 |
Which kind of macro keyboard do you have?
Four hardware types need four different approaches: a keypad with onboard memory, a keypad that needs a vendor driver, a spare standard keyboard and a numpad. Identify yours first, because the programming happens in a different place for each.
This page belongs to our guide to using multiple keyboards with different macros. The main guide covers separating keyboards; this page focuses on the keys themselves.
| Hardware | Programmed in | Driver on the PC? | Main limit |
|---|---|---|---|
| Keypad with onboard memory | The keypad’s own firmware or configurator | No | Fixed number of keys per layer |
| Keypad needing a vendor driver | Vendor software on the PC | Yes | Multi-Keyboard Macros says such boards are generally unsupported |
| Spare standard keyboard | A per-device tool such as HIDeous | Not for HIDeous | Typing keys also type on the first keyboard |
| Spare numpad | A per-device tool or unique combos | Not for HIDeous | Num Lock changes the output |
Decide what each key sends before you decide what it does. Keys that send unique outputs can be reprogrammed on the PC later without touching the hardware.
How do you program a keypad with onboard memory?
Open the keypad’s configurator, assign each physical key an output such as F13 to F24, save to the device and test in Notepad. The device stores the mapping, so any PC sees only ordinary function keys.
QMK’s keycode documentation lists KC_F13 through KC_F24 in its keycode table. The table marks F13 to F19 as supported on Windows, macOS and Linux, while F20 to F24 are listed for Windows and Linux only. If you plan to move the keypad between a Windows PC and a Mac, stay within F13 to F19, which gives seven clean triggers.
- Pick the outputs. Use F13 to F24 first, then add Ctrl+Alt+Shift combinations for a second layer.
- Assign and save. Write the mapping to the keypad, not to the PC.
- Test. Press each key in Notepad or a key tester and confirm the label appears once.
- Bind actions on the PC. Use PowerToys, AutoHotkey or Macro Keys for the actions, depending on the job.
Which keys should a macro keyboard send?
Send F13 to F24 on the base layer, Ctrl+Alt+Shift plus F13 to F24 on a second layer, and held-modifier variants on a third. Each layer multiplies twelve triggers without touching keys that real typing uses.
PowerToys lets a shortcut hold at most four keys, or five for a chord, so a layer of Ctrl+Alt+Shift plus a function key fits within that limit. PowerToys also documents that F13 to F24 can be mapped, which makes it a reliable first stop for binding them.
How do you program a spare standard keyboard?
A spare standard keyboard needs a per-device tool, because its letter keys also type on the main keyboard. HIDeous maps each keyboard by Device Hash in a settings.ini file, with one section per keyboard.
Open the HIDeous window, press a key on the spare keyboard to read its Device Hash, and paste the hash into the Devices section. Each binding takes the form KEY=type:value, where the type is text, keys, run or profile. Comments must sit on their own lines, and scan codes written as SC plus a number bind a physical key regardless of Num Lock.
; Pressing F1 simulates the Enter key (scan code 28)
F1=keys:SC28
HIDeous binding style, adapted from the project’s own example.
HIDeous’s author describes the program as essentially a keylogger because of its system-level access. Run only binaries you trust, or build it from source.
How do you check that the programming took effect?
Test every key in three places: Notepad, a browser address bar and your real work app. A key that types the right label in all three is programmed correctly, while a mismatch in only one app points to focus or elevation.
- Press each key once and count the characters that appear.
- Press the same key on the main keyboard to confirm nothing fires.
- Repeat after a restart.
Which macro software pairs with a programmed keypad?
Any tool that accepts F13 to F24 works. PowerToys and AutoHotkey document function-key hotkeys; Macro Keys lists a hotkey launcher and text shortcuts but does not document which keys the launcher accepts, so test your keypad key there first.
The NewSoftwares.net downloads hub carries the Windows installer. Our recommendation for the action layer is Macro Keys when the work is mostly text and launching. Based on its documented features, it does not replace a per-device tool.
Frequently asked questions about programming a macro keyboard
A keypad with onboard memory stores its keys in its own firmware, so no PC software is needed after setup. You still need a macro tool on the PC to attach actions to the keys it sends. Keypads that need a vendor driver depend on that vendor’s software.
F13 to F24 are the cleanest choice because standard keyboards never send them. QMK lists F13 to F19 for Windows, macOS and Linux and F20 to F24 for Windows and Linux only. Add Ctrl+Alt+Shift layers when you need more than twelve triggers.
Yes, with a per-device tool. HIDeous maps each keyboard by Device Hash and can send keys, type text, run commands or switch profiles. Without such a tool, its letter keys also type on the main keyboard, so macros fire from both.
A nine-key keypad sends nine triggers per layer. Three layers raise that to 27, and held-modifier variants raise it further. PowerToys limits a shortcut to four keys, or five for a chord, so keep each layer within that limit. Write the layer layout on paper first so you can see which keys stay unused.
Yes for onboard memory, because the keypad stores the mapping. Tools on the PC must also start at sign-in. Macro Keys has a start-up checkbox in Options, and PowerToys must be running for Keyboard Manager to work. After a restart, press one trigger from each device to confirm both tools loaded.
For a spare numeric pad, see how to use a numpad as macro keys.