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); }
CInputKeyboard::CInputKeyboard() { ResetKeyboard(); }
/* InputReset: * Remet à zéro les périphériques d'entrée. */ void to7_InputReset(int mask, int value) { ResetKeyboard(mask, value); ResetMouse(); }