[SDL] adding wacom tablet support to sdl
Simon Roby
simon.roby at gmail.com
Thu Oct 5 17:35:53 PDT 2006
On 10/5/06, Doug <biteme at bitbasher.net> wrote:
> 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.
Actually, under X11 the API for acquiring tablet information is also
quite standard, just like under Windows. Ditto for OS X (at least for
Cocoa).
The Linux Wacom drivers are a bitch to get to work (I own a Wacom
Graphire2 tablet that is sitting on my desk as I am typing this), but
once they do, apps simply have to fetch the right information from
Xinput.
Both GTK+ and Qt already have built-in tablet APIs that do the right
thing depending on the platform. Adding tablet support to SDL should
be fairly easy, seeing Qt already does it under Windows, OS X and X11.
--
- SR
More information about the SDL
mailing list