1

update keyboarddemo to threads

This commit is contained in:
2022-07-11 18:42:14 +02:00
parent 304eadc959
commit 8d7bdea519
2 changed files with 16 additions and 3 deletions

24
c_os/user/demo/KeyboardDemo.cc Executable file
View File

@ -0,0 +1,24 @@
/*****************************************************************************
* *
* K E Y B O A R D D E M O *
* *
*---------------------------------------------------------------------------*
* Beschreibung: Testausgaben für den CGA-Treiber. *
* *
* Autor: Michael Schoettner, HHU, 26.10.2018 *
*****************************************************************************/
#include "lib/Input.h"
#include "user/demo/KeyboardDemo.h"
void KeyboardDemo::run() {
/* Hier muess Code eingefuegt werden */
kout << "Keyboard Demo: " << endl;
while (true) {
kout << getch();
kout.flush();
}
}