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. Custom Hardware KeyBoard Driver for QT5
Forum Updated to NodeBB v4.3 + New Features

Custom Hardware KeyBoard Driver for QT5

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 296 Views 1 Watching
  • 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.
  • P Offline
    P Offline
    piyushverma
    wrote on 17 Dec 2021, 05:32 last edited by
    #1

    Hello,

    We have hardware which have matrix key 6x5, As keys not enouch one key would be multiple function, Line numlock/capslock/

    I already read this post https://forum.qt.io/topic/67176/custom-keyboard-driver-in-qt-5 & this one https://www.kdab.com/qt-input-method-depth/

    They give overview, but not right pointer or example code where to start.
    Most information availble online is for qt4 using QWSKeyboardHandler Any suggestion where can get more information on it,
    Which qt code handle capslock and numlock on linux ?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 18 Dec 2021, 14:55 last edited by
      #2

      Hi,

      @piyushverma said in Custom Hardware KeyBoard Driver for QT5:

      Which qt code handle capslock and numlock on linux ?

      None, that happens at a lower level. For capslock, your application will receive the key events with the key and modifier as if your were pressing both for each entry.

      For numlock, you'll have to use native APIs.

      How is your custom keyboard seen by your system ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      1/2

      17 Dec 2021, 05:32

      • Login

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