Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pressure sensitive tablet input in Javafx?

Tags:

tablet

javafx

I'd like to write a pen-stroke drawing app using JavaFX. I have a pressure sensitive drawing tablet and it would be really nice to be able to read the pressure and tilt values of the pen. JavaFX has an API that handles mouse, touch and swipe inputs, but there doesn't seem to be anything that yields pressure values.

I've used JPen before, but it seems to be for Swing. Is there a JavaFX equivalent?

like image 443
kitfox Avatar asked May 31 '15 00:05

kitfox


1 Answers

There is a related question on the forum site of JPen.

http://sourceforge.net/p/jpen/discussion/753961/thread/d6028fb2/

Maybe the answers can give you a hint of how to extend JPen to work with JavaFX. Their architecture does not seem to depend on AWT.

Your own question there concerning JavaFX has not been answered so far. Maybe you can push it a bit :-)

like image 78
mipa Avatar answered Sep 22 '22 11:09

mipa