i am making a game and i would appreciate it if anyone could tell me how to detect two keys being pressed at once impleminting the following code:
case 72: //up
Y--; //coords move up
}while(Choice!=27); //27 is ascii for <Esc>
so how would i detect if the user inputs up and left at the same time, so that i could move the pixel up and left?
thanks for any help