Results 1 to 5 of 5

Thread: How to implement Qt applicationfrom taking inputs from 4x4 matrix keypad

  1. #1
    Join Date
    May 2013
    Posts
    20
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    10
    Thanked 3 Times in 3 Posts

    Question How to implement Qt applicationfrom taking inputs from 4x4 matrix keypad

    enum Qt::key provides values for normal desktop keyboard, but for a application to run on a processor based board with 4x4 matrix keypad ....in what way can the inputs be mapped to the Qt application...the Qt based keypad drivers have been compile for the specific processor as well, but finding difficulty in getting the required output...please help

  2. #2
    Join Date
    May 2013
    Posts
    20
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    10
    Thanked 3 Times in 3 Posts

    Default Re: How to implement Qt applicationfrom taking inputs from 4x4 matrix keypad

    is their any way to change the enum Qt::key values...

  3. #3
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    3
    Thanked 453 Times in 435 Posts
    Wiki edits
    15

    Default Re: How to implement Qt applicationfrom taking inputs from 4x4 matrix keypad

    Qt based keypad drivers have been compile for the specific processor as well
    If those driver are Qt based then the driver should provide the key map of the keyboard.
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

  4. The following user says thank you to Santosh Reddy for this useful post:


  5. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: How to implement Qt applicationfrom taking inputs from 4x4 matrix keypad

    The typical approach would be for the operating system driver for the keypad to generate whatever standard key code values the operating system would typically generate for the keys 0..9 and A..F. Then everything else on the system will see the keypad as just another keyboard. Qt, X11 etc do not need to be changed.

  6. The following user says thank you to ChrisW67 for this useful post:


  7. #5
    Join Date
    May 2013
    Posts
    20
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    10
    Thanked 3 Times in 3 Posts

    Default Re: How to implement Qt applicationfrom taking inputs from 4x4 matrix keypad

    enum Qt::key values are available.....but the 4x4 keypad has got 0-9 and up,down,right,left,menu,ok key functions

    with the standard Qt::key values signaled from the 4x4 keypad the Qt application isn't taking up the functionalities required...

    so is their anyway to change keyPressed event that is takincare of in normal system to be customised....to solve my problem

  8. The following user says thank you to maverick for this useful post:


Similar Threads

  1. unable to get uni-code inputs from another thread
    By Mohammad in forum Qt Programming
    Replies: 3
    Last Post: 15th November 2011, 14:56
  2. Need to find a way to save user inputs.
    By "BumbleBee" in forum Newbie
    Replies: 23
    Last Post: 4th November 2011, 14:10
  3. How to implement functionalities of other devices/inputs in Qt
    By qt_user in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 9th October 2011, 10:32
  4. Replies: 0
    Last Post: 11th November 2008, 15:36
  5. Detecting KeyPad Events from my Keypad
    By Svaths in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 18th August 2006, 07:28

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.