I wrote the following header file and included in my code:
#define ARROW_RIGHT 77 #define BACKSPACE 8 #define INSERT 82 #define F1 59 #define F2 60 #define F3 61