Guide / Numpad as macro keys
How to Use a Numpad as Macro Keys on Windows
A spare numpad makes a compact macro pad, but Num Lock changes what its keys send. This page shows how to set one up on Windows 10 and Windows 11 so every key fires in both states.
To use a numpad as macro keys, plug it in, identify it with a per-device tool such as HIDeous, and bind its keys by scan code so Num Lock state no longer matters. Then attach text, key or launch actions to each key and test with Num Lock on and off.
| Applies to | USB and wireless numpads on Windows 10 and 11 |
|---|---|
| Time needed | 20 to 30 minutes |
| Difficulty | Moderate |
| Cost | The numpad; HIDeous is free and portable |
| Needs admin or internet | No admin for HIDeous; internet only to download |
| Last verified | November 2026 |
Why does a spare numpad need special handling?
A numpad sends digits when Num Lock is on and navigation keys such as Home, arrows and Page Up when it is off. A macro tool must catch both states or ignore Num Lock, or half your macros will go quiet.
This page is part of our guide to using multiple keyboards with different macros. A spare numpad is the cheapest second device: it is small and its keys rarely appear in everyday typing.
Press every macro key with Num Lock on, then off. A setup that fires in both states passes. One that fires in only one state needs the Ignore Num Lock option or scan-code bindings.
How do you set up a spare numpad with HIDeous?
Plug in the numpad, open HIDeous, press a key to read the Device Hash, add that hash to settings.ini and bind keys by scan code so Num Lock state stops mattering. Add a text, keys or run action per key.
- Plug in and press a key. HIDeous shows the key code and the numpad’s Device Hash.
- Name the device. Put the hash in the Devices section under a short name.
- Bind by scan code. Scan codes written as SC plus a decimal number bind the physical key regardless of Num Lock state.
- Add actions. Each line takes text, keys, run or profile.
- Test twice. Run the Num Lock test above.
If keys are missed, HIDeous documents raising the KeyWaitTime setting. Toggle keys such as Num Lock mapped to text macros can drift out of sync when pressed very rapidly, so avoid binding Num Lock itself.
Can you use the built-in numpad on your main keyboard?
Yes, but with a trap. Redefining the main keyboard’s numeric keypad can also redefine its arrow and Page Up and Page Down keys. The Multi-Keyboard Macros FAQ says to turn NumKey on and clear Ignore Num Lock to avoid that.
That advice is specific to Multi-Keyboard Macros, which lists Windows 7, 8 and 10 and offers a trial. The underlying lesson applies to any tool: the keys share codes with navigation keys, so a careless remap breaks cursor movement.
Which macros suit a 17-key numpad?
A standard numpad has 17 keys, so assign the ones nearest your fingers to daily jobs and keep Enter and Num Lock free. Map text to the number keys and launches to the operator keys.
| Key | Macro type | Example action |
|---|---|---|
| 7 | Text | Email sign-off |
| 8 | Text | Invoice reference header |
| 9 | Text | Status phrase |
| 4 | Key sequence | Tab three fields, press Enter |
| 5 | Launch | Open the daily report folder |
| 6 | Launch | Open the team site |
Macro Keys’ official page lists text shortcuts and a hotkey launcher but does not mention numpad support, so we use it here only as a store of text blocks. Browse the Macro Keys page for details, and use HIDeous or PowerToys to supply the numpad trigger.
Is a numpad macro setup safe on a work PC?
Safety depends on the tool: a numpad macro is fine when the tool is trusted and your IT policy allows it. HIDeous needs no driver but describes itself as keylogger-like, so check with IT before running it on a managed PC and avoid typing passwords through macros.
If your employer blocks new USB devices, a numpad may be blocked too. Tools such as USB Block let administrators allow-list devices on Windows; its page describes blocking storage such as drives and SD cards, so ask IT how a numpad is treated.
Frequently asked questions about numpad macros
Yes. A spare USB numpad works when a per-device tool such as HIDeous separates it from the main keyboard. Bind keys by scan code so Num Lock state does not change which key fires, then add text, key or launch actions.
With Num Lock off, the keys send Home, arrows and Page keys instead of digits, so a macro bound to digits no longer matches. Bind by scan code, or use an ignore Num Lock option where a tool offers one, then test in both states.
It can. The Multi-Keyboard Macros FAQ warns that redefining the numeric keypad on the primary keyboard may also redefine the arrow and Page Up and Page Down keys unless NumKey is on and Ignore Num Lock is cleared. Test the arrow keys right after you save any numpad change, and undo the rule at once if they stop working.
Yes, if it acts as a standard HID keyboard. Multi-Keyboard Macros says USB or wireless HID keyboards qualify when they type without a driver, so a wireless numpad follows the same setup with one pairing step added. Check the battery level first, because a dying wireless unit can drop keystrokes and look like a broken macro.
Put text blocks on the number keys and launches on the operator keys, and keep Enter and Num Lock free. A standard numpad has 17 keys, so six to ten macros is a comfortable layout. Label the keycaps with small stickers so you remember what each key does.
For other hardware, read how to program a macro keyboard.