Interfacing with a drawing tablet


is there a VC++ library using OpenGL that interfaces with a drawing tablet/pencil. Maybe similar to the build in function in OpenGL(glut) for interfacing with a mouse but with extra parameters like e.g. how hard the pencil is pushed down. I need one for the thesis I am writing. (about developing a sketch based interface)



I’m in Windows 10 using a Laptop + XP-Pen Deco Pro Drawing Tablet .

Running on Windows 10 64bit.

I just tried my XP-Pen Deco Pro tablet and the brushes were very slow, missing the start of some strokes and most importantly no pressure sensitivity. I did a little searching and someone suggested switching off OpenGL and this has fixed my problem.

As it happens, I also updated both my XP-Pen and Nvidia drivers
and when I switched OpenGL back on, things were fine. The pressure
sensitivity was back and the lag was gone.