I am trying to work with keyboard input in C++ but I can’t find anywhere in the documentation what the signature is for delegate functions.
I have an action mapping in the project called “Typing” for any key.
I have a class that inherits from PlayerController that overrides SetupInputComponent and calls this:
InputComponent->BindAction("Typing", IE_Pressed, this, &AKeyboardController::HandleTyping);
What I can’t find anywhere is what the engine will pass to HandleTyping. I’m guessing it’s some kind of key event struct, but I don’t want to guess, I want to look it up. I’ve seen tutorials that show axis bindings getting a float value, which makes sense, but I don’t see anywhere in the docs that tell you this is what will happen.
Any suggestions on where to look?