I'm writing a program that will be used as a digital guestbook at weddings that I'll post into the project forums once I actually have something more tangible than an idea.
My concern is this. I'm using Smoothboard as the tracking software, and I'm coding the guestbook in Processing. Being able to sign a guestbook is pretty important i think, which is why using the wiimote is perfect for this application. Anyway, the code I've been working on is to make a good input for handwriting.
When I draw with the mouse, it works perfectly. Separate lines.

When I run the program and use the IR pen, the left click seems to work a bit differently.

As you can see I can draw a line just fine, but when I place the pen to a new spot and click the button to 'left-click' again, a line is created between the last point and the current point. It's like Smoothboard activates the click just before it jumps to the new location. No good.
When I do the same thing in any other drawing program, such as Paint or Photoshop etc, it doesn't have this problem.
I have no idea where to start looking for the source of the problem. Maybe it's an operation order within Processing, maybe it's in Smoothboard. I'm not really sure. Any suggestions?