Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Mouse control with Qt and Myo Armband
QtWS25 Last Chance

Mouse control with Qt and Myo Armband

Scheduled Pinned Locked Moved 3rd Party Software
myoarmbandqt4mouse controlcursor
4 Posts 2 Posters 2.6k 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
    sr22sa
    wrote on 22 Jun 2015, 15:25 last edited by
    #1

    Hello,

    I am a beginner to Qt and am trying to use a Myo Alpha gesture control armband to control a Qt application by creating a plugin using Visual Studio 2013. I have implemented cursor control using QObject, QMouseEvent and QCursor and the Myo SDK v0.8.1. I was able to move the cursor throughout the screen and perform other actions such as left and right clicks, drag, and scroll by sending mouse events, however, I noticed that while I am able to interact within a window (main window, dialog or message boxes), I am not able to interact with any of the peripheral controls of any of these windows (including close, resize options, drag window, system menu, etc). Using my mouse with this application gives no problem, and using the Myo's own control script works as well.

    I am not sure where this problem is originating from, and I was wondering if anyone has used Myo SDK with Qt and has experienced a similar issue? Does anyone have any idea why this might be occurring?

    Will appreciate any help.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 22 Jun 2015, 22:45 last edited by
      #2

      Hi and welcome to devnet,

      What kind of plugin did you write ?

      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
      • S Offline
        S Offline
        sr22sa
        wrote on 23 Jun 2015, 14:02 last edited by sr22sa
        #3

        Thanks!

        The plugin is for cursor control in the original application using the Myo gesture control armband. The plugin uses the Myo SDK 0.8.1. It uses signals and slots to trigger mouse events. It was written in C++ in Visual Studio 2013 on a Windows 7 machine.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 23 Jun 2015, 22:04 last edited by
          #4

          In that case, I'd recommend to take a look at KDAB's blog entry about Qt Input Method In Depth

          The followup article will be even more useful, but this one is already a good starting point.

          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/4

          22 Jun 2015, 15:25

          • Login

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