Getting an error trying to EnableInput on PlayerController

So If I overwrite the virtual function of the InputKey it would look like this? I see you put void but wouldn’t it have to follow the parent class and return a bool?

bool AFPSPlayerController::InputKey(FKey Key, EInputEvent EventType, float AmountDepressed, bool bGamepad)
{
	Super::InputKey(Key, EventType, AmountDepressed, bGamepad);

<Rest of code here>


}

Also I do not think I can do the switch statement here as It gives me errors, The case needs to be a constant and Ekeys::E is not able to be used here. Also the switch expression must be an integral or enum type which key is not. I think I will have to just use If / else statements here to get this to work.