If you use getc() or scanf(), you only know what button the user pressed after he pressed enter. Is there a way to get direct keyboard input in the C language?
Also, i'm using gcc on Linux (Raspberry pi).
If you use getc() or scanf(), you only know what button the user pressed after he pressed enter. Is there a way to get direct keyboard input in the C language?
Also, i'm using gcc on Linux (Raspberry pi).