Checking held inputs in c++

I want an action to execute as long as a key is held down, but I can’t tell where I’m supposed to hook up the checking functions. I would basically like to accomplish what’s written in this question, but I don’t have a player controller (and do not need one according to some forum posts).

What would the equivalent of the PlayerController::ProcessPlayerInput() mentioned in that question be?

I feel silly. Apparently held keys are what IE_Repeat is for. Was mislead to think otherwise via hot reload not working.