move to C++ Orz

input handling
QQrz