Keypad F1 - F4 Functions

Hi

I have a key pad with the buttons 0-9 and F1-F4. I have used the keypad library and it all works fine except it only prints the last character on the F keys. ie for F4 I return a 4.

What am I missing for it to print a F4?

/* @file CustomKeypad.pde
|| @version 1.0
|| @author Alexander Brevig
|| @contact alexanderbrevig@gmail.com
||
|| @description
|| | Demonstrates changing the keypad size and key values.
||/
*/
#include <Keypad.h>

const byte ROWS = 5; //five rows
const byte COLS = 4; //four columns
//define the cymbols on the buttons of the keypads
char hexaKeys[ROWS][COLS] = {
  {'F1','F2','F3','F4'},
  {'7','8','9','OUT'},
  {'4','5','6','IN'},
  {'1','2','3','B'},
  {'.','0','C','?'},
};
byte rowPins[ROWS] = {6,7,8,9,10}; //connect to the row pinouts of the keypad
byte colPins[COLS] = {2, 3, 4, 5}; //connect to the column pinouts of the keypad

//initialize an instance of class NewKeypad
Keypad customKeypad = Keypad( makeKeymap(hexaKeys), rowPins, colPins, ROWS, COLS); 

void setup(){
  Serial.begin(9600);
}
  
void loop(){
  char customKey = customKeypad.getKey();
  
  if (customKey){
    Serial.println(customKey);
  }
}
'F1'

The single quote ' implies a single character.

The value in the hexaKeys array does not HAVE to match the label on the key. They do have to be single characters.

OK cool, I know they don’t have to match just thought it’d be easier in the code.

thanks