On 05/20/2011 02:39 PM, D M German wrote:
> With the laptops having more than one input device (mine has stylus,
> touch, and eraser) what would be needed to improve xournal to take
> advantage of it?
>
> What I am thinking is that I would like to map each of these to a
> different tool.

Mostly some UI coding to have an interface to select the tools for each 
device, if you'd like to be able to customize that.

If you're ok with a quick hack and no customization, just look at how 
the "eraser tip" option works and adapt as needed. (there's two parts: 
at init time, when we read the list of Gdk input devices, we see if 
anyone has a name that sounds like an eraser and set a flag for it. And 
in xo-callbacks.c, when an event comes in, if it comes from the eraser 
and the "eraser tip" option is set, we bypass the normal tool settings.

But since Andreas is already going to do it properly in Xournal++, I 
don't think it's worth the trouble at this point.

Denis


-- 
Denis Auroux
MIT Department of Mathematics           aur...@math.mit.edu
    (on leave) and
University of California, Berkeley      aur...@math.berkeley.edu
Department of Mathematics               Tel: 510-642-4367
817 Evans Hall # 3840                   Fax: 510-642-8204
Berkeley, CA 94720-3840

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Xournal-devel mailing list
Xournal-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xournal-devel

Reply via email to