def METHOD_NAME(self, key: int):
    """
    Executes a remote control action based on the key that was received.
    Args:
        key (int): The keycode that is received.
    """
    if key in self.key_mappings:
        self.key_mappings[key]()
    # If no motion key was received, clear the wrench
    if key not in self.movement_keys:
        self.remote.clear_wrench()