How to add number keys to the Windows 10 keyboard
Not all keyboards are the same. The physical keyboard changes according to the key layout they support, for example, the Apple keyboard is very different from the Windows keyboard. A large keyboard has a dedicated number pad and a small keyboard is removed to shrink the size. Users can use numeric keys on the top of the letter keys to enter numbers. Some applications force you to use a row of numeric keys (numpad) in this case, you can use AutoHotkey to add number keys to the keyboard.
When you press a key, your operating system will recognize it via a virtual key code. Each key has its own code depending on the keyboard layout you added. If you need to add numeric keys to the keyboard, you'll have to make the operating system realize that the number key you're pressing is actually present on a dedicated keyboard.
How to add a row of numeric keys to the Windows 10 keyboard
Download AutoHotKey. After installing, open Notepad and paste the following into Notepad. Save the file with the AHK file extension for example; numpad.ahk.
#If GetKeyState ("CapsLock", "T")
1 :: Numpad1
2 :: Numpad2
3 :: Numpad3
4 :: Numpad4
5 :: Numpad5
6 :: Numpad6
7 :: Numpad7
8 :: Numpad8
9 :: Numpad9
0 :: Numpad0
Run this file. To simulate, press the numpad key, turn on Capslock . With the process in progress, enabling Capslock is equivalent to enabling numLock .
When you click on the number keys at the beginning of the letter keys, your operating system will assume that you are pressing a number key on the actual keyboard. You can experiment with the application called Keyboard Tester. The screenshot below shows the number 2 entered by pressing the 2 key on the actual keyboard, but it is actually entered by pressing 2 on the numeric row row at the top of the keyboard.
How to add number keys to the Windows 10 keyboard Picture 1
Limitations when adding number keys to the Windows 10 keyboard
This script only works for numbers, not any symbols or keys on the numeric row row. If you click the plus, minus sign or slash, it will not be recognized as a key on the numeric keypad. Similarly, the "." will also not be mapped as a decimal key on the numeric row row.
With Windows 10, this trick applies to all applications, for example when you want to move the cursor with the number keys. If you need a row of numeric keys for game or application shortcuts, this small script will be useful. You can find an application to do this, but it will consume more computer resources.
See more:
- No numeric keypad? No problem! Here's how to create a numeric keypad on Windows
- Summary of several ways to open virtual keyboard on Windows XP / 7/8 / 8.1 / 10
- Instructions for handling when the laptop keyboard key is broken
You should read it
- Do you really need a numeric keypad on your keyboard?
- How to control the mouse with the keyboard in Windows 10
- How to enable the numeric keypad as a mouse on Windows 11
- 5 best gaming keypads in 2024
- Why are phone and computer number keys different?
- Why are ATMs using metal numeric keypads?
- Turn photoshop tools into a unique and handy physical keyboard
- Why is the number 0 on the keypad to the right of the number 9?
- How to turn off the Laptop keyboard to use an external keyboard
- Why is the computer's numeric keypad locked? How to fix it?
- How to use Windows keyboard on Mac
- Summary of equivalent Mac keys on Windows keyboard
May be interested
Notable security features on the latest Windows 10
How to create a custom keyboard layout for Windows 10
How to rename applications in the App List in the Start menu on Windows 10
Microsoft released a critical security patch update for all versions of Windows 10
Experience fast on Windows 10 Lean Edition
How to display this list of This PC Windows 10 drives