Wintab plugin

Hi

There is now a wintab plugin for JInput to allow tablets that expose themselves via wintab, like wacom tablet under windows.

There are some odities. My tablet has 2 buttons on the pen (plus the nib), and 2 on the pad. Wintab reports 16 buttons, but the two on the pad don’t seem to do anything. The scroll wheel on the pad doesn’t seem to effect anything in wintab.

I have an idea about the buttons.

The orientation axis run from 0 to 1. My table reports -900 to +900 for one of the axis. I’m gussing this is -90 degrees to plus 90 degrees. As the axis is normalised in JInput, this comes out as 0.0f to 1.0f. 0 degrees would be 0.5f.

Endolf

Note to self. Check button mappings per cursor.

Hey, tested your webstartable of this with a Wacom Volito 2 - fully functional ;D
Only odd thing is that the mousecursor is not controlled via the pad any more while the program is running. But I think that on purpose?
Good work!

Try now. A while ago I added an optional property jinput.wintab.detachcursor, which, if specified as true, will detatch the cursor. This was the original default (before the property). I just didn’t update the webstart :).

I have now, I hope :slight_smile: (My tablet is put away, so can’t check right this second)

Endolf