terminal/main/main.cpp

19 lines
362 B
C++
Raw Normal View History

2019-12-02 14:27:11 +01:00
#include "vkvm.hpp"
#include <iostream>
#include <unistd.h>
#include "internal.hpp"
#include "../src/Buchstaben.hpp"
int main() {
2019-12-02 14:27:11 +01:00
vkvm::initialize(0);
while(1){
vkvm::KeyCode keycode = buchstabeneinlesen();
char c = keycode + 65256;
std::cout<< c<<std::endl;
std::string s(1,c);
buchstabenschreiben(s);
}
}