def _keyDown(key):
if key not in keyboardMapping or keyboardMapping[key] is None:<EOL><INDENT>return<EOL><DEDENT>needsShift = pyautogui.isShiftCharacter(key)<EOL>"""<STR_LIT>"""<EOL>mods, vkCode = divmod(keyboardMapping[key], <NUM_LIT>)<EOL>for apply_mod, vk_mod in [(mods & <NUM_LIT:4>, <NUM_LIT>), (mods & <NUM_LIT:2>, <NUM_LIT>),<EOL>(mods & <NUM_LIT:1> or needsShift, <NUM_LIT>)]: <EOL><INDENT>if apply_mod:<EOL><INDENT>ctypes.windll.user32.keybd_event(vk_mod, <NUM_LIT:0>, <NUM_LIT:0>, <NUM_LIT:0>) <EOL><DEDENT><DEDENT>ctypes.windll.user32.keybd_event(vkCode, <NUM_LIT:0>, <NUM_LIT:0>, <NUM_LIT:0>)<EOL>for apply_mod, vk_mod in [(mods & <NUM_LIT:1> or needsShift, <NUM_LIT>), (mods & <NUM_LIT:2>, <NUM_LIT>),<EOL>(mods & <NUM_LIT:4>, <NUM_LIT>)]: <EOL><INDENT>if apply_mod:<EOL><INDENT>ctypes.windll.user32.keybd_event(vk_mod, <NUM_LIT:0>, KEYEVENTF_KEYUP, <NUM_LIT:0>)<EOL><DEDENT><DEDENT>
Performs a keyboard key press without the release. This will put that
    key in a held down state.

    NOTE: For some reason, this does not seem to cause key repeats like would
    happen if a keyboard key was held down on a text field.

    Args:
      key (str): The key to be pressed down. The valid names are listed in
      pyautogui.KEY_NAMES.

    Returns:
      None