The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.
SDL
Simple Directmedia Layer Forums
Stylus pressure support?
BarkyTheDog
Joined: 18 Jul 2014
Posts: 1
Posted: Sat Jul 19, 2014 8:01 pm
Greetings -
I'm working for a gent with a cross-platform desktop app that uses SDL for creating windows and getting events. We'd like to support stylus pressure, for our users with Wacom tablets. Web-searching revealed various folks' wishes for support for this in SDL, going back a number of years. So, I'd guess this may be a rehash of an old topic? My apologies...
In any case, might one inquire as to why there is no stylus pressure (and tilt, etc.) in SDL at this point? I support planned in the future? Seems it's been asked for by some number of folks. As well, I was unable to determine a solution (at least for OS X) that would allow me to obtain stylus info, within the confines of a Cocoa app that uses SDL for handling events. If someone reading this knows some scheme that would get pressure (etc) data, without hacking SDL sources, I'd be all ears :-)
Thanks, and sorry again if this is a worn-out topic... :-)