Mouse control with Qt and Myo Armband
sr22sa last edited by
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.
Hi and welcome to devnet,
What kind of plugin did you write ?
sr22sa last edited by sr22sa
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.
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.