I don't receive player mouse inputs until I click

thanks ^^

In case my edit have not been seeing because the images I’ll put it again here:
"It seems that I actually receive the inputs, but unless I press any mouse button I receive “AxisValue=0.0"”

And my cannon code is:

#include "FortressDefense.h"
#include "Cannon.h"


// Sets default values
ACannon::ACannon()
{
	[...]

	// Take control of the default player
	AutoPossessPlayer = EAutoReceiveInput::Player0;
}

[...]

// Called to bind functionality to input
void ACannon::SetupPlayerInputComponent(class UInputComponent* InputComponent)
{
	Super::SetupPlayerInputComponent(InputComponent);

	 [...]

	InputComponent->BindAxis("RotateCannon", this, &ACannon::Rotate);

}

void ACannon::Rotate(float AxisValue) {
	FRotator NewRotation = CannonSprite->GetComponentRotation();
	NewRotation.Pitch += AxisValue;
	CannonSprite->SetRelativeRotation(NewRotation);
}