hi David
I think there was some change in Xorg recently, and now a lot of input
devices report a pressure axis that previously didn't. The blacklist
approach was getting more and more ugly because of that.
The GTK solution is to have no pressure by default, and make the user
configure each device. Which conflicts with the goal of MyPaint that you
can just start and paint.
I have changed the system to a whitelist now in git, matching those words:
tablet pressure graphic art pen stylus eraser pencil brush
wacom bamboo intuos graphire cintiq
hanvon rollick graphicpal artmaster sentip
genius mousepen
If anyone knows more words that hint at a pressure-sensitive tablet, please
tell so I can add them. (And please test latest git with your tablet).
If you have a tablet not in this list, you can still enable it in
"Help->Debug->GTK Input Device Dialog". If you are a Windows or Mac user,
please report the name of your devices in this dialog.
Regards
Martin
On Sat, Oct 27, 2012 at 11:03:33PM +0200, David Revoy wrote:
> Hey, following the last commit I read on Gitorious (
> https://gitorious.org/mypaint/mypaint/commit/4da2742cdd3a6efeb126cf28a178f76a3a4996ff)
> about excluding HID , I made a rule for my mouse ( a fancy gaming
> mouse
> with 3500dpi and multicolor LED ) ; and it appear to solve my zoom
> problem with mouse wheel ( https://gna.org/bugs/?19664 , can be closed if
> committed ) , and probably the bug click on the label and brush icons. (
> https://gna.org/bugs/?19547 , I still need to see it on long terms, but as
> far as now I can't replicate ) .
>
> I would be happy if someone can commit it ( or say why not if this
> workaround is dangerous )
>
> sorry , I don't know how to generate patch :
>
> in
> gui/application.py<https://gitorious.org/mypaint/mypaint/blobs/4da2742cdd3a6efeb126cf28a178f76a3a4996ff/gui/application.py>,
> l.489
> +
>
> > if 'razer' in name.split():
> > print 'Skipping "%s" (probably a gaming mouse)' %
> > device.name
> > continue
> >
> _______________________________________________
> Mypaint-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/mypaint-discuss
--
Martin Renold
_______________________________________________
Mypaint-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-discuss