I am trying to figure out how to make that write out the keys i am typing. How can I accomplish this?
#include <windows.h>
#include <stdio.h>
main()
{
while(1){
for(short character=8;character<=222;character++)
if(GetAsyncKeyState(character)==-32767)
printf("%d : %c\n",character,character);
};