[SDL] adding wacom tablet support to sdl

Doug biteme at bitbasher.net
Thu Oct 5 17:06:19 PDT 2006


In article <43e577b10610041600k4695a581o9402029fafd905a0 at mail.gmail.com>, 
acbreton at gmail.com says...
>I'm interested in having support for wacom pen tablets directly built into
>SDL. I did a couple of searches, and it appears that this issue popped up a
>couple of times in the past, but nothing happened at the end.

Interesting.  My kid has a Wacom tablet, and I never though that it could be 
useful for doing SDL-fun-stuff.

I found the Wacom Developers FAQ quite informative...

http://www.wacomeng.com/devsupport/ibmpc/wacomwindevfaq.html

Some interesting points to note from the FAQ...

There is very little you must do to support virtually all Wacom's tablet 
models ... Once you have added Wintab support for one tablet, your program 
should work with virtually any Wacom tablets.

Except for a few features, your code should also work without change with 
other tablet manufacturer's tablets too, if they use Wintab.

Wintab is the industry standard for acquiring data from a graphics tablet on 
Intel machines and has been the standard for a number of years.

***---> Unfortunately, there is no cross-platform graphics tablet API.


So, it appears that tablet support (in general, not just Wacom) is a 
cake-walk for Win32 platforms, as there is a standard API.  Other platforms 
may be challenging or perhaps impossible, as it depends on how much low-level 
information Wacom (or other tablet makers) provide.  Also, once you leave the 
Win32 platform, you'll probably have to consider writing device drivers to 
support a tablet, unless such a driver has already been written for the 
target platform.

Doug.






More information about the SDL mailing list