import curses


def load_keys() -> dict:
    """
    Load all keyboard keys available to user in program

    Usage: KEYS['DOWN']

    Parameters:
        None
    Returns:
        KEYS (dict): Dictionary of references to curses keys
    """
    KEYS = {
        "ENTER": (curses.KEY_ENTER, ord('\n'), ord('\r')),
        "SPACE": (32, ord(' ')),
        "UP": (curses.KEY_UP, ord('k')),
        "DOWN": (curses.KEY_DOWN, ord('j')),
        "RIGHT": (curses.KEY_RIGHT, ord('l')),
        "LEFT": (curses.KEY_LEFT, ord('h')),
        "PAUSE": (ord('p'), ord('P')),
        "RESUME": (ord('r'), ord('R')),
        "QUIT": (27, ord('q'), ord('Q'))
    }
    return KEYS