matthiasm wrote:
> - plugin system for additional devices like tablets, 3D mice,
> extended keyboards
Yes, I can see where pen pressure and pen orientation in
tablets would be handy info to get from fltk, similar to
how mouse x/y coords can be had, esp. for paint/drawing
programs. (I'm assuming fltk doesn't currently support
passing through stuff like pen pressure, maybe I'm wrong)
I have some tablet code for X windows I wrote ages ago
that may be useful for tablet support; it uses extended X events
to read the tablet's pen pressure, tilt, eraser, etc:
http://seriss.com/people/erco/wacom/
..see 'tinypaint.c' as an example showing this using plain X
and openGL. (Thankfully, I think this is the /last/ X program
I ever wrote)
Seems FLTK could somehow 'pass through' the extended X event
data in some kind of flexible way, similar to how mouse x/y
data is passed.
Thing is, not sure if the 'discovery' of such devices is easy
or standardized enough for FLTK to make supporting this possible,
not to mention things like determining/setting tablet resolution
in some kind of platform independent manner. (I'm not familiar with
the Mac or Windows approaches to accessing tablet data)
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk