C++ (Qt)void Console::keyPressEvent(QKeyEvent *event){if(event->key() >= 0x20 && event->key() <= 0x7e && (event->modifiers() == Qt::NoModifier || event->modifiers() == Qt::ShiftModifier || event->modifiers() == Qt::AltModifier)) QPlainTextEdit::keyPressEvent(event);}
C++ (Qt)QString QKeyEvent::text () constquint32 QKeyEvent::nativeScanCode () const