Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keypad does not accept input from Wacom Intuos (12x18) + 'fix' #348

Open
rsnel opened this issue Mar 20, 2020 · 4 comments
Open

Keypad does not accept input from Wacom Intuos (12x18) + 'fix' #348

rsnel opened this issue Mar 20, 2020 · 4 comments

Comments

@rsnel
Copy link

rsnel commented Mar 20, 2020

Operating System: Debian GNU/Linux 10
CEmu version: v2.0dev (cee9c86)
Describe your issue:
Keypad does not accept input from Wacom Intuos (12x18). I expect to be able to use the table as I can use the mouse.

What are the steps to reproduce this issue?

  1. Attempt to press keys using the graphics tablet

Any logs, error output, screenshot, other comments...?

If I remove the first 4 lines of the function

void KeypadWidget::mouseEvent(QMouseEvent *event) {

then the touchpad works as expected. However, I still wanted to report this, since those lines must have been there for a reason.

@adriweb
Copy link
Member

adriweb commented May 18, 2020

I don't believe any of us has a graphics tablet to help debug this, it would be nice to know what the source() is for this.
Apparently it can be those values: https://doc.qt.io/qt-5/qt.html#MouseEventSource-enum

@jacobly0 added a check for a specific one so there must be a reason...?

@adriweb adriweb added this to the Any version milestone May 18, 2020
@CollinScripter
Copy link

This occurs on other graphics tablets as well.
I have a Huion Inspiroy H640P which is ~40 USD and it doesn't work correctly either.

@rsnel
Copy link
Author

rsnel commented Sep 2, 2020

I have recompiled the code with a printf() statement to determine the value of source() when using the tablet. The value is

Qt::MouseEventSynthesizedByQt 2

@adriweb
Copy link
Member

adriweb commented Sep 7, 2020

Right, this corresponds to "synthesized from an unhandled touch event", hmmm...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants