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

Key repeat on embedded Linux



  • Hello,
    I have an embedded device that has 8 keys (lt, rt, up, dn, back, etc...). The GUI has a QTableWidget that may contain many rows which the user can navigate up and down. The keys do not appear to send repeat events, so currently the user must press and release the key to go up or down over and over. What would be a good approach to adding auto repeat? I have already considered detecting the key press and starting a timer that would then simulate repeats and stop the timer upon key release, but I was hoping for something more lower-level than in the GUI code.

    Also, when I run in QVFB on my x86, the keys do repeat, just not on the device.

    Thanks!


Log in to reply