mitchcurtis / slate

Pixel Art Editor
GNU General Public License v3.0
1.05k stars 103 forks source link

Support drawing tablet drivers #101

Open kyuujuushi94 opened 5 years ago

kyuujuushi94 commented 5 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I am an artist that uses a Wacom intuos medium tablet to do my art work and when I downloaded the I got quite excited to try out a program that ables you to make pixel art with animation and tile making. The issue is that it only recognizes the input from my mouse, NOT my wacom tablet.

Describe the solution you'd like A clear and concise description of what you want to happen.

I suggest to figure out a way to support drawing tablet drivers into the program. You can start with Wacom drivers, but there are also other tablets like Huion tablets and XPen tablets that have their own drivers as well. Just to point it out.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

I haven't considered any alternatives to the solution. Maybe at least being able to check for input events from other input devices(i.e.: drawing tablets) besides a mouse. I have NEVER created a drawing program before so I have no idea how to deal with this, but I can say is to do research on it and see what works out. ^-^

Additional context Add any other context or screenshots about the feature request here.

Another thing I would say is that IT DOES notices the position of the mouse when I just hover over the tools with my tablet, BUT I cannot select any of the tools WITH the tablet.

mitchcurtis commented 5 years ago

Thanks for the feedback.

I would have thought that tablet input would just work, but apparently I'm mistaken. :)

not-surt commented 5 years ago

Booted into windows to test some tablet code and I'm experiencing the same problem. Not getting any LMB clicks outside of menu in Windows. MMB works, RMB seems to work, though windows is interfering with it's Windows Ink nonsense.

All works fine in Linux.

Tried a couple of the Qt Quick examples with the same result so it doesn't look like it's anything unique to Slate. Tried a couple of Qt Widgets examples but LMB clicks with stylus aren't working at all except for painting in tablet example.

Hadn't updated Qt Creator and was working fine in old version. Updated and same problem with stylus LMB clicks. So seems issue might be with latest Qt.

EDIT: This may be the cause of the problem: http://doc.qt.io/qt-5/qtabletevent.html#notes-for-windows-users I tried installing that version driver but no change, though didn't bother removing the old driver first, so possibly not actually using it.

EDIT 2: Uninstalled newer driver and reinstalled older driver, but the stylus doesn't work in Windows at all, so that's no help.

mitchcurtis commented 5 years ago

Damn. :(

Perhaps https://bugreports.qt.io/browse/QTBUG-72624 is relevant?

naj59 commented 5 years ago

How about https://github.com/ApoorvaJ/EasyTab

mitchcurtis commented 5 years ago

How about https://github.com/ApoorvaJ/EasyTab

I don't have any tablet with which to test this stuff, but I would also expect that it's handled by Qt.

If https://bugreports.qt.io/browse/QTBUG-72624 is the problem, it's fixed in Qt 5.12.2.

mitchcurtis commented 5 years ago

https://bugreports.qt.io/browse/QTBUG-76617 might be related.

mitchcurtis commented 3 years ago

QTBUG-76617 was fixed Qt 5.12. Can anyone with a tablet try Slate 0.9.0 and see if it works?