Best way to add Wacom Support to libSDL

Basically I want to write a small SDL App that Turns a pen tablet into a midi
generating device. This means I need Wacom Support in my applications can
anybody give me pointers as to the best way to add wacom support to an SDL
application–
FORTUNE’S RANDOM QUOTES FROM MATCH GAME 75, NO. 1:

Gene Rayburn: We’d like to close with a thought for the day, friends —
something …

  Someone: (interrupting) Uh-oh

Gene Rayburn: …pithy, full of wisdom — and we call on the Poet
Laureate, Lipsy Russell

Lipsy Russell: The young people are very different today, and there is
one sure way to know: Kids to use to ask where they came
from, now they’ll tell you where you can go.

      All: (laughter)