SDL Tablet Pressure

Hi SDL people. Oh how I love SDL.

I had an ambitious idea for a competitive art game. However, I
noticed SDL is yet to have any support for tablet pressure sensitivity
data. Are there plans to add it to events (perhaps as a property of
"motion" and “button”)?

GTK for linux and windows I believe already supports pressure
sensitivity. But I’d really rather have all my favorite things in one
API than trying to mix them. And it’s open source, so why not.

I’m generally a busy guy, but if there’s any way I could help with
this that would be cool.

This has been discussed (even recently), but I don’t believe anything has
been done yet.

I’m hoping for pressure/eraser support in SDL so that I can add support
for it to Tux Paint. :^)On Sat, Feb 25, 2006 at 06:23:23AM -0800, Nicholas Retallack wrote:

Hi SDL people. Oh how I love SDL.

I had an ambitious idea for a competitive art game. However, I
noticed SDL is yet to have any support for tablet pressure sensitivity
data. Are there plans to add it to events (perhaps as a property of
"motion" and “button”)?

GTK for linux and windows I believe already supports pressure
sensitivity. But I’d really rather have all my favorite things in one
API than trying to mix them. And it’s open source, so why not.


-bill! Tux Paint 2006 wall calendar,
bill at newbreedsoftware.com CDROM, bumper sticker & apparel
http://www.newbreedsoftware.com/ http://www.cafepress.com/newbreedsw

Not for SDL, I think, but as I’m very interested in tablet support as
well, I made a patch (not applied) for Ryan Gordon’s ManyMouse project
(which can be used with SDL) some time ago that adds some tablet support
to that. Currently it only supports the Linux 2.6 evdev interface,
though. I’m planning on reading up on XInput some time and adding support
for that, but someone else would probably have to add the Windows and Mac
support.

Anyway, I’ve been considering setting up a manymouse tablet support patch
project – not a real fork to compete with manymouse by any means, just
something to get the ball rolling on that tablet support. Would people be
interested in something like this ? I do feel a bit silly suggesting
this as we could of course just send patches directly to ManyMouse in
stead, but Ryan seems busy with other things. Having some place this
could live in the mean time could be nice.

  • GerryOn Mon, 27 Feb 2006 21:25:43 +0100, Bill Kendrick wrote:

This has been discussed (even recently), but I don’t believe anything has
been done yet.