I want to make a program that runs forever and takes a user input, something like
while(1)
{  
    if(currentkeybeingpressed != NULL)
    {
        print(the current character); /* So that the program just waits until a key is 
                        pressed and outputs the same letter the moment it is touched*/
    }
}
I want to do this on a KISS controller, which does not have the conio.h file ready to import and therefore I cannot use the getch function. Is there another way to find out what key is being pressed at the moment?
 
     
    