This makes the tablet2midi demo fully functional, with a limited feature set
Tablet 2 Midi is a standalone windows application that allow you to use your graphics tablet / digitizer as a set of MIDI controllers. You can add an unlimited number of controllers, by defining an area of the tablet surface as a button, a slider or an XY-pad.
The idea is that you get out a piece of paper and simply draw the controllers with a pencil (or you can use your favourite drawing software or word processor). When you have a good control layout, put the paper under the plastic cover of your tablet, and trace the controls as described in the next section.
Read more here

