main()
{
  char          Characters[1024];
  int           Inc=0;

  memset(Characters, 0, 1024);
  
  printf("Press a load of characters (q=exit)\n");

  SetKeyboard();

  for(Inc = 0; (Characters[Inc] = getchar()) != 'q'; Inc++);
  
  ResetKeyboard();

  printf("You Pressed %s\n", Characters);
}
Exemple #2
0
CInputKeyboard::CInputKeyboard()
{
	ResetKeyboard();
}
Exemple #3
0
/* InputReset:
 *  Remet à zéro les périphériques d'entrée.
 */
void
to7_InputReset(int mask, int value)
{
    ResetKeyboard(mask, value);
    ResetMouse();
}