dev
This commit is contained in:
parent
3d43739ff2
commit
cec4c8322b
|
@ -8,12 +8,13 @@
|
||||||
int main() {
|
int main() {
|
||||||
vkvm::initialize(0);
|
vkvm::initialize(0);
|
||||||
while(1){
|
while(1){
|
||||||
|
vkvm::registerEvent(vkvm::KeyDown, []() {
|
||||||
vkvm::KeyCode keycode = buchstabeneinlesen();
|
vkvm::KeyCode keycode = buchstabeneinlesen();
|
||||||
char c = keycode + 65256;
|
char c = keycode + 65256;
|
||||||
std::cout << c << std::endl;
|
std::cout << c << std::endl;
|
||||||
std::string s(1, c);
|
std::string s(1, c);
|
||||||
buchstabenschreiben(s);
|
buchstabenschreiben(s);
|
||||||
|
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue