
I've created some basic input device pressure and tilt support.
The changes are:
- A standard input device dialog has been added
- Device settings are loaded from and saved to the preferences
- The dialog canvas widget accepts extension events
- The calligraphy tool can optionally use the input device's pressure for pen width, and/or tilt for pen angle
The diff, and the new source files are available from http://www.lysator.liu.se/~nili/inkscape/
What do you think about it?
Finally got time to get it merged in my sandbox this morning. Code looks pretty straight forward... excellent! Doesn't seem to work on win32 at the moment though, so I'm currently looking into that.
On a side-note, are we opting against the stock gnome device configuration dialog in favor of the tab in preferences? Let me know so I can have it hooked up right. Once it's working on win32 I will double check for any issues and then commit to CVS after testing a bit.
Bulia, would you find the ability to "record" and "playback" strokes to be beneficial (recording data straight from the tablet for position, pressure, & tilt for later use)? Or should I not bother with it since once the brush tool is implemented we would effectively eliminate most uses for it? I see it as beneficial for saving a stroke to be replayed with different parameters using the calligraphy tool... but as with all real brush tools, we'd basically have "brush stroke" objects that would be created that could have various brushes applied instead.
-Josh