codice:
#include <windows.h>
#include<stdio.h>
int main(void){
end=1;
while(end!=0){
if (GetKeyState (41) < 0) end=0;//A key
}
return 0;
}
per ottenere un keycode usa VkKeyScan(char)