> Adding a TABLET event is a good idea. There must be a way though to
> disable it as 200 events per second is quite a lot if no tablet is
> ever used.

There will be no such event until you call enable_tablet_events() function. 
Then you'll retrieve 200 messages per second from your X11/Wintab constanly, if 
your stylus is in some proximity range from tablet, and none, if it's out. I 
think it's normal behaviour. Maybe we need some "disable_tablet_events()" 
function in addition? Or prevent messages to pass to FLTK's event loop, if 
there is no real change in x/y/pressure/tilt parameters? (I think it's not very 
useful optimization for the first time.)


> Angles should of course be the same on all platforms.

I've tried to retrieve tilt angle range at Windows - and I received [-90,90], 
while it's really [-64,63], in degrees (however, on Linux you can get proper 
range). So, I think it will be better if FLTK return a natural angle for X and 
Y axes (as, for example, Qt does).

Is this ok?
If it's all ok, I can prepare a patch in a few days.

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to