src/aoikhotkey/hotkey_parser.py
def vk_ctn(vk):
    """
    Map given virtual key to name.

    :param vk: Virtual key.

    :return: Virtual key's name, or None if not found.
    """
    # If the platform is MacOS
    if IS_MACOS:
        # Map given virtual key to name.
        # May be None.
        return _MAP_MAC_VK_TO_CUSTOM_NAME.get(vk, None)

    # If the platform is not MacOS.
    else:
        # Map given virtual key to name.
        # May be None.
        return _MAP_WIN_VK_TO_CUSTOM_NAME.get(vk, None)

    Map given virtual key to name.

    :param vk: Virtual key.

    :return: Virtual key's name, or None if not found.
    
Map given virtual key to name.
Map given virtual key to name .
def vk_ctn(vk):
    if IS_MACOS:
        return _MAP_MAC_VK_TO_CUSTOM_NAME.get(vk, None)
    else:
        return _MAP_WIN_VK_TO_CUSTOM_NAME.get(vk, None)
def vk_ctn ( vk ) : if IS_MACOS : return _MAP_MAC_VK_TO_CUSTOM_NAME . get ( vk , None ) else : return _MAP_WIN_VK_TO_CUSTOM_NAME . get ( vk , None )
Map given virtual key to name.
Map given virtual key to name .
"""
    Map given virtual key to name.

    :param vk: Virtual key.

    :return: Virtual key's name, or None if not found.
    """ # If the platform is MacOS # Map given virtual key to name. # May be None. # If the platform is not MacOS. # Map given virtual key to name. # May be None.
Virtual key's name, or None if not found.
Virtual key ' s name or None if not found .
vk
None