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. Mouse Input on virtual Framebuffer not working
Forum Updated to NodeBB v4.3 + New Features

Mouse Input on virtual Framebuffer not working

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 767 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.
  • H Offline
    H Offline
    hannes 0
    wrote on 24 Aug 2017, 17:46 last edited by hannes 0
    #1

    Hey Guys,
    I'm having a Problem regarding libinput on QT_QPA_PLATFORM=linuxFB. We are developing a testing framework for a pretty big QT5 embedded application (without any display server involved). Usually the application runs on arm7 hardware, and we are testing on amd64.

    In order to test the binary, we load the Linux virtual frame buffer kernel module and set QT_QPA_PLATFORM=linuxFB:fb=/dev/fb1, so that the binary writes to the virtual frame buffer instead to the real one. This works pretty well, and we are able to stream the virtual frame buffer over the network. Currently I can't get the mouse input via libinput working (the keyboard works out of the box).

    Using strace, i have figured out that QT5/libinput is using /dev/input/event2 for getting its mouse events. Click events do have their usual effect on the application but the Position of the cursor does not change at all. Maybe the different resolution of the real frame buffer and the virtual one causes this issue, or the mouse driver itself does send wrong x -and y-positions of the cursor. Does anyone here has experiences withe use cases like this and could give me a hint what I might have done wrong ?

    Thanks!

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 24 Aug 2017, 20:27 last edited by
      #2

      Hi and welcome to devnet,

      Interesting setup ! I'd recommend bringing this question to the interest mailing list. You'll find there Qt's developers/maintainers. This forum is more user oriented. This forum is more user oriented.

      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

      24 Aug 2017, 17:46

      • 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