Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Key auto repeat with Poky / Qt 5.4
Forum Updated to NodeBB v4.3 + New Features

Key auto repeat with Poky / Qt 5.4

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 642 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SavageTwinky
    wrote on last edited by
    #1

    I'm trying to figure out how to set up key auto repeat feature. We moved over from WinCE and we have code in several bits that rely on this behavior.

    The only information I can find on it is here but I'm not sure of how to use it properly.
    http://doc.qt.io/qt-5/embedded-linux.html

    I've defined QT_QPA_EVDEV_KEYBOARD_PARAMETERS based on the example shows grab=1
    I've tried a few different

    'repeat-rate=500 repeat-delay=1000' <= I'm not sure how to use multiple settings
    'repeat-rate=500'
    repeat-rate=500
    "repeat-rate=500"

    When we run our app we use -platofrm eglfs. Our main app uses QWaylandQuickCompositor. This is a little confusing to me since we aren't using the wayland platform. So I'm assuming the evdev keys aren't handled by wayland and we are only using it to draw but I could be way off.

    If I can't get this to work is there a way to simulate it. I know I can get on key pressed/released events, So I might be able to write some simple code that can create the events manually.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved