You can control the mouse pointer entirely from the keyboard using Windows' Mouse Keys feature, which turns the numeric keypad into a directional pointer. On macOS, the equivalent is called Mouse Keys and is enabled through Accessibility settings. Once active, you move the cursor with number keys, click with a key, and drag by holding a modifier. This guide walks through enabling and using these features on Windows and macOS, plus common pitfalls and fixes.

What You'll Need

  • A computer running Windows 10 or Windows 11, or macOS Ventura or later (steps may vary slightly by version).
  • A keyboard with a numeric keypad (for Windows Mouse Keys; macOS can use other keys).
  • Administrator rights may be required to change some system settings.

Step-by-Step

  1. Open the settings app. On Windows, press Windows + I. On macOS, open System Settings from the Apple menu.
  2. Navigate to accessibility settings. On Windows, go to Accessibility (Windows 11) or Ease of Access (Windows 10). On macOS, go to Accessibility.
  3. Find the mouse control section. On Windows, select Mouse under the Interaction section. On macOS, select Pointer Control.
  4. Turn on Mouse Keys. On Windows, toggle Mouse keys to On. On macOS, enable Mouse Keys and optionally set it to activate with a shortcut (like pressing Option five times).
  5. Test the pointer. On Windows, use the numeric keypad: 8 moves up, 2 down, 4 left, 6 right, 7 up-left, 9 up-right, 1 down-left, 3 down-right. On macOS, use the numeric keypad similarly (8, 2, 4, 6 for cardinal directions).
  6. Click and drag. On Windows, press 5 to click (left-click). To drag, press 0 to hold the mouse button, move the pointer with the number keys, then press . (period) to release. On macOS, press 5 to click; for dragging, hold 5 while moving with the number keys.
  7. Adjust speed and acceleration. In the same settings, you can change pointer speed and acceleration. On Windows, use the sliders under Mouse keys settings. On macOS, adjust Pointer Control options.
  8. Use keyboard shortcuts for common actions. Even without Mouse Keys, you can navigate menus and dialogs with Tab, Shift+Tab, arrow keys, Enter, and Space. For right-click, press Shift+F10 (Windows) or Control+Shift+Click (macOS with Mouse Keys).

Common Mistakes

  • Forgetting to enable the feature. Mouse Keys is off by default; you must turn it on in settings.
  • Using the wrong keys. The numeric keypad is required for Windows Mouse Keys; the top row number keys do not work.
  • Not releasing the drag. On Windows, after pressing 0 to drag, you must press . to release, or the mouse button stays held.
  • Expecting full mouse functionality. Mouse Keys does not support scrolling or middle-click by default; use keyboard shortcuts for those actions.

Tips

  • Use Num Lock to toggle Mouse Keys on and off quickly if you set that shortcut.
  • Combine Mouse Keys with Tab navigation to reduce reliance on the pointer.
  • On macOS, you can set a shortcut to toggle Mouse Keys by pressing Option five times.
  • Adjust pointer speed to a comfortable level; too fast makes precise clicking difficult.

Troubleshooting

  • Mouse Keys does not work. Ensure Num Lock is on (Windows) and the feature is enabled. Restart the computer if needed.
  • Pointer moves too slowly or quickly. Adjust the speed slider in the Mouse Keys settings.
  • Cannot click or drag. Verify you are pressing the correct keys: 5 for click, 0 for hold, . for release (Windows). On macOS, hold 5 to drag.
  • Settings are greyed out. You may need administrator privileges; contact your IT administrator if on a managed device.
  • Keyboard shortcuts conflict. Some apps capture key presses; try in a different app or adjust settings.

Frequently Asked Questions

Can I use keyboard shortcuts to control the mouse on Windows?

Yes, enable Mouse Keys in Accessibility settings. Use the numeric keypad to move the pointer and 5 to click.

How do I right-click with the keyboard?

On Windows, press Shift+F10 to open the context menu. On macOS with Mouse Keys, press Control+5 or Control+Shift+5 depending on settings.

Does Mouse Keys work on laptops without a numeric keypad?

Windows Mouse Keys requires a numeric keypad, but some laptops emulate one with Fn keys. macOS Mouse Keys can use other keys like U, H, J, K if enabled.

Can I scroll using keyboard shortcuts?

Mouse Keys does not scroll. Use Page Up/Page Down or arrow keys in most apps.

Is Mouse Keys available on all Windows versions?

Yes, it is included in Windows 10 and 11. Older versions may have it under Ease of Access.

How do I turn off Mouse Keys?

Toggle it off in the same Accessibility settings, or press the shortcut if configured (e.g., Num Lock for 5 seconds on Windows).