The tablet we have is this:
I have a small canvas in a web page (around 790x480) and when using the pen the area of the tablet that matches the canvas it's too small. This happens because the tablet area matches the full resolution of the screen, while my small canvas is just part of the screen.
How can I "caputure" the pen inside the canvas while leaving the mouse "free"?
I found out that the software that comes with the tablet allows you to map the area where the pen should draw, so simply set that to match the area of the canvas and you're done.