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. Qt evdev handler - Missed and corrupt characters when using the reader as keyboard.

Qt evdev handler - Missed and corrupt characters when using the reader as keyboard.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 128 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
    sangram
    wrote on last edited by sangram
    #1

    We scan USB Readers to scan or swipe badges to get the characters into our Qt application. We depend on the Qt evdev handler embedded in the linuxfb platform plugin. The reader characters are getting missed or sometimes some special characters (@^) get shown instead of actual data (0-9 aA-zZ). We tried to verify the scan by using evtest, it seems to identify the characters 100%.
    The reader scan triggers the slot() void QEvdevKeyboardHandler::readKeycode() signalled by the QSocketNotifier. Below is an example of reader code both Good and Bad ones:

    ;4024722218720798=23051011000015400001?
    ;40247=230510001?

    As one can see the characters are being missed.

    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