Controls directive and key press bind