update keyboarddemo to threads
This commit is contained in:
24
c_os/user/demo/KeyboardDemo.cc
Executable file
24
c_os/user/demo/KeyboardDemo.cc
Executable 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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user