RSS/Atom feed Twitter
Site is read-only, email is disabled

Painting with xinput device strange behavior

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 6 messages available
Toggle history

Please log in to manage your subscriptions.

Painting with xinput device strange behavior Sam Lin 26 Feb 03:09
9d40e4ef1002260008i15ab294c... 07 Oct 20:28
  Painting with xinput device strange behavior Sam Lin 28 Feb 01:18
9d40e4ef1002280401g36707bds... 07 Oct 20:28
  Painting with xinput device strange behavior Sam Lin 28 Feb 13:59
   Painting with xinput device strange behavior Sam Lin 02 Mar 12:40
Sam Lin
2010-02-26 03:09:04 UTC (about 15 years ago)

Painting with xinput device strange behavior

Hi All,

I'm writing a diditizer driver and so far it works nice on xournal and inkscape.
When I use it with gimp (enable Extended Input Device, pressure sensitive) the brush parint stroke wrongly linked to left-top.

screenshot: http://www.itrs.idv.tw/~itrs/tmp/Screenshot.jpg

Would you please give some hints ?

Sam

Sam Lin
2010-02-28 01:18:09 UTC (about 15 years ago)

Painting with xinput device strange behavior

I checked wacom driver and can't found anything noticable. Both wacom and my driver set motion buffer size 0.

I noticed that the strange behavior happens with relative high cpu load.

Sam

? 2010?02?26? 16:08, Alexia Death ??:

On Fri, Feb 26, 2010 at 9:09 AM, Sam Lin wrote:

Hi Alexia,

I don't know much about the history buffer filling. Would you please share some doc on how to fill it in driver ?

Im not a diver developr so I dont have the information you need... You can take look at how wacom does it. Las I checked they did it right.

Sam Lin
2010-02-28 13:59:06 UTC (about 15 years ago)

Painting with xinput device strange behavior

yes I tried git version and it works nice with disabling event-history. but still can't find how to make the driver work under enabling event-history.

Thanks,

Sam

? 2010?02?28? 20:01, Alexia Death ??:

History buffer is triggered on high loads when tablet produces more events than can be handled. I think motion buffer is not the same as history buffer. all I can recommend is to try git gimp and play with the history buffer switch in the gimpc file to see if my guess is right.

On Sun, Feb 28, 2010 at 2:18 AM, Sam Lin wrote:

I checked wacom driver and can't found anything noticable. Both wacom and my driver set motion buffer size 0.

I noticed that the strange behavior happens with relative high cpu load.

Sam

? 2010?02?26? 16:08, Alexia Death ??:

On Fri, Feb 26, 2010 at 9:09 AM, Sam Lin wrote:

Hi Alexia,

I don't know much about the history buffer filling. Would you please share some doc on how to fill it in driver ?

Im not a diver developr so I dont have the information you need... You can take look at how wacom does it. Las I checked they did it right.

Sam Lin
2010-03-02 12:40:25 UTC (about 15 years ago)

Painting with xinput device strange behavior

afterall I fixed it by posting Button event with valuators in driver

? 2010?02?28? 20:59, Sam Lin ??:

yes I tried git version and it works nice with disabling event-history. but still can't find how to make the driver work under enabling event-history.

Thanks,

Sam

? 2010?02?28? 20:01, Alexia Death ??:

History buffer is triggered on high loads when tablet produces more events than can be handled. I think motion buffer is not the same as history buffer. all I can recommend is to try git gimp and play with the history buffer switch in the gimpc file to see if my guess is right.

On Sun, Feb 28, 2010 at 2:18 AM, Sam Lin wrote:

I checked wacom driver and can't found anything noticable. Both wacom and my driver set motion buffer size 0.

I noticed that the strange behavior happens with relative high cpu load.

Sam

? 2010?02?26? 16:08, Alexia Death ??:

On Fri, Feb 26, 2010 at 9:09 AM, Sam Lin wrote:

Hi Alexia,

I don't know much about the history buffer filling. Would you please share some doc on how to fill it in driver ?

Im not a diver developr so I dont have the information you need... You can take look at how wacom does it. Las I checked they did it right.