Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QCoreApplication / usb keyboard



  • Hello,
    I'm trying to figure out the best path for my application to get stdin from a usb keyboard. This would be embedded linux on an arm board. There won't be any Gui, so there shouldn't be a need to run it with -qws, making QEvents not an option.

    So I think just opening/reading the device file (/dev/tty1 in this case) by using either standard c/c++ or Qt classes.

    Does this sound like a good solution, or is there another direction anyone might suggest?

    Thanks


Log in to reply