I is trying to makey makey a program that will detect when certain keys are pushed. My only problem is that I dont know the nombers that corrospond to the shift key and control keys. I am writing this code for a game. Here are teh codes:
switch(event->keyval) {
case ?:
printf("Shift key was pressed");
break;
case ??:
printf("Control key waas pressed");
break;
}
What can replace ""?"" and ""??""
Also, if possible, my answer SHOULD be able to fit in a char
type