How to gain access to key presses in HUD type class

For the very end of this tutorial which sees the user adding an “Enter” input to fire a macro, there is no option for key press inputs to be added into the GameHUD class. If done in the PlayerController then there is no tutorial content regarding casting to that. Please advise.