This is the source to the wacom_driver.  It is a rudimentary driver that will allow your application
to communicate with a wacom device connected to serial port 2.  You can look at the
wacom_test2.cpp file for instruction on how to use it.

The next step is to create a kb_mouse driver that will look for tablets as well as mice on 
serial ports and will do the right thing.  That's yet another exercise.

This driver is a good example of writing a device driver.  It also encapsulates the serial port
and provides a similar interface as the BSerialPort object does, but without you having to 
link in the libbe.so library, which you can't do with a driver.

Instructions:

1) Put the wacom_driver into the /boot/system/drivers directory
2) Run the wacom_test program from a command line
3)  Move the pen around the tablet, pressing buttons.  If you have a stylus with an eraser,
then clicking the eraser will quit the app, or just use Ctrl-C


Compiling:

If you want to compile this, you will need to make a copy of /boot/system/kernel_XXX
where XXX is 'joe' if you're on a BeBox, or 'mac' if you're on a Mac.  name the copy
_KERNEL_ and copy it into the source directory.  Then drag it into the wacom_driver.proj.

