That's what I kinda had in mind, though the ASCII-code was working in general. KEY_ESCAPE worked?


#define KEY_BACKSPACE 8 might be the problem, you can google that constant. Could you try 14 for it?