Good day everyone.
I'm looking for a piece of code I can't seem to make / find myself.
Basically, I made my own piece of hardware that detects pressure.
I've already gotten as far as getting this pressure into a visual basic program,
and it shows my pressure from 0 to 1.
Now, what I'd want, is to use this variable, in programs like Photoshop as if it were the pressure of a tablet.
So how should I 'fake' this tablet pressure using that variable?

Any help would really be nice.

Greetings,
Chibs.