kc = "KP_Delete";
}
break;
+ case VK_SPACE:
+ kn = "space";
+ ks = "space";
+ kc = "space";
case VK_F1:
kn = "F1";
ks = "F1";
strncpy(ks, "Escape", 32);
strncpy(kc, "Escape", 32);
break;
+ case VK_SPACE:
+ strncpy(kn, "space", 32);
+ strncpy(ks, "space", 32);
+ strncpy(kc, "space", 32);
+ break;
default:
/* displayable characters */
printf (" * key : %d\n", key);
ks = "Delete";
kc = "Delete";
break;
+ case VK_SPACE:
+ kn = "space";
+ ks = "space";
+ kc = "space";
+ break;
case VK_F1:
kn = "F1";
ks = "F1";
strncpy(ks, "Escape", 32);
strncpy(kc, "Escape", 32);
break;
+ case VK_SPACE:
+ strncpy(kn, "space", 32);
+ strncpy(ks, "space", 32);
+ strncpy(kc, "space", 32);
+ break;
default:
/* displayable characters */
printf (" * key : %d\n", key);