(key)
return ctypes.windll.user32.GetKeyState(key) > 1
Check if a key is being pressed.
    Needs changing for something that detects keypresses in applications.
    Returns:
        True/False if the selected key has been pressed or not.
Check if a key is being pressed.
    Needs changing for something that detects keypresses in applications.
    Returns:
        True/False if the selected key has been pressed or not.
Check if a key is being pressed . Needs changing for something that detects keypresses in applications . Returns : True / False if the selected key has been pressed or not .
def get_key_press(key):
    """Check if a key is being pressed.
    Needs changing for something that detects keypresses in applications.
    Returns:
        True/False if the selected key has been pressed or not.
    """
    return ctypes.windll.user32.GetKeyState(key) > 1
def get_key_press ( key ) : return ctypes . windll . user32 . GetKeyState ( key ) > 1