Bug 332239

Summary: No pressure support for Hanvon tablets
Product: [Applications] krita Reporter: Nik Prodanov <prodanov>
Component: Tablets (tablet issues are only very rarely bugs in Krita!)Assignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 2.8.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nik Prodanov 2014-03-17 09:34:31 UTC
I have a Hanvon GraphicPal 806 tablet and i'm using the open-source Hanvon driver found here:

http://forschung.wi.uni-passau.de/~ond/myweb/hw/hanvon/

There are no problems with offsets or anything like that, but the pressure is always set to 100% like a mouse.

Reproducible: Always
Comment 1 Dmitry Kazakov 2014-03-25 10:14:04 UTC
Git commit 6708d8d4a7a5e311c2e539c029a9613dad6385d0 by Dmitry Kazakov.
Committed on 25/03/2014 at 10:03.
Pushed by dkazakov into branch 'master'.

Added support for the 'evdev' tablets

There are two complications:

1) In each event 'evdev' reports not all the axes preset, but
   only recently changed ones, so we need to keep the state of all
   the axes internally.

2) 'aiptek' tablet reports that it is a keyboard. Well, let us not
   disappoit it that it is not. Now we just check whether this nice
   "keyboard" supports xinput motion and proximity events.
Related: bug 331572, bug 329641, bug 331917

M  +86   -0    krita/ui/input/wintab/kis_tablet_support.h
M  +66   -16   krita/ui/input/wintab/kis_tablet_support_x11.cpp

http://commits.kde.org/calligra/6708d8d4a7a5e311c2e539c029a9613dad6385d0
Comment 2 Dmitry Kazakov 2014-03-27 09:23:30 UTC
Git commit f406313a16c16294e1f438bb2a296d4fbaf075ab by Dmitry Kazakov.
Committed on 25/03/2014 at 10:03.
Pushed by dkazakov into branch 'calligra/2.8'.

Added support for the 'evdev' tablets

There are two complications:

1) In each event 'evdev' reports not all the axes preset, but
   only recently changed ones, so we need to keep the state of all
   the axes internally.

2) 'aiptek' tablet reports that it is a keyboard. Well, let us not
   disappoit it that it is not. Now we just check whether this nice
   "keyboard" supports xinput motion and proximity events.
Related: bug 331572, bug 329641, bug 331917

M  +86   -0    krita/ui/input/wintab/kis_tablet_support.h
M  +66   -16   krita/ui/input/wintab/kis_tablet_support_x11.cpp

http://commits.kde.org/calligra/f406313a16c16294e1f438bb2a296d4fbaf075ab