Enable inputs (PlayerController) in C++

Hey,

I’ve already posted a answerhub question about this and want to ask here again:

I want to check Keyboard Inputs inside my PlayerController:



PlayerController::BeginPlay()
{
  EnableInput(this);
}


PlayerController::Tick()
{
      if (IsInputKeyDown(EKeys::A))
	{
          //never true
	}
//OR
       if (WasInputKeyJustPressed(EKeys::NumPadOne))
	{
          //never true
	}
}

I’ve also tried to enable the inputs inside the Character:


EnableInput(GetWorld()->GetFirstPlayerController());


EnableInput(…) should work , because It says the Inputs are Enabled for the player controller(InputsEnabled() is true) but somehow the it still doesn’t recognize my Key Inputs

Can anyone help?