Change Alternate Control Methods preferences for accessibility on Mac
On your Mac, use the Alternate Control Methods pane of Accessibility Pointer Control preferences to enable Mouse Keys and to use keyboard shortcuts or switches to perform certain mouse actions.
To change these preferences, choose Apple menu > System Preferences, click Accessibility, click Pointer Control, then click Alternate Control Methods.
Enable Mouse Keys
Move the mouse pointer and press the mouse button using the keyboard or a numeric keypad.
Note: When Mouse Keys is on, you can’t use the keyboard or numeric keypad to enter text.
To customize Mouse Keys, click Options:
Press the Option key five times to toggle Mouse Keys: Use your keyboard to turn Mouse Keys on or off.
Ignore built-in trackpad when Mouse Keys is on: Disable the trackpad on your Mac when you use Mouse Keys.
Initial Delay: Set how quickly the pointer starts moving when you press a key.
Maximum Speed: Set the maximum speed at which the pointer moves.
Enable alternate pointer actions
Perform mouse actions, such as left, right, or double clicks, using keyboard shortcuts or switches.
To see a list of keys or switches currently being used, click Options.
To quickly enable or disable Mouse Keys and alternate pointer actions using the Accessibility Options shortcut panel, press Option-Command-F5 (or if your Mac has Touch ID, quickly press Touch ID three times).
To specify which options are available in the shortcut panel, choose Apple menu > System Preferences, click Accessibility, then click Shortcut.