Enable Input in C++

Seems like you already create a question containing your Question:

I’m going to close this one. Please stick to one Question for each topic.

You are allowed to bump a question every 4 days without being answered in between.

Hey,
I have following problem:

I want to controll Keyboard/Mouse inputs inside my PlayerController but somehow it doesn’t recognize the keyboard/ mouse inputs.

Inside the PlayerController:

Tick()
{
    if (IsInputKeyDown(EKeys::A))
    ....
    if(WasInputKeyJustPressed(EKeys::A))
    ......

}

II’ve tried to Enable Inputs like this:

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

but nothing works.

Can anyone help me?