We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Tablet library? (Read 4335 times)
Tablet library?
May 19th, 2005, 8:24am
 
Anyone know what happened to the good ol tablet library? Are we to write a new one now?

Search turned up no results. :[
Re: Tablet library?
Reply #1 - May 19th, 2005, 1:39pm
 
yeah, its time to update the jtablet library. i'll do so this weekend.

amit
Re: Tablet library?
Reply #2 - May 20th, 2005, 8:15pm
 
wow thanks AP! I was just gonna email. Besides writing hawt code, do you also happen to be capable of mind-reading?
Re: Tablet library?
Reply #3 - May 23rd, 2005, 2:07am
 
Just uploaded a v90 sketch (with jwintab code files included) at :
http://www.pitaru.com/jwintab_v2/files/jwintab_test_v90.zip

for now you'll need to include the jwintab files within your sketch code folder, but i'll hash out some details with ben (package code messing up the dll loader) and make it into a proper Processing-beta library.

let me know if it works for you,
amit
Re: Tablet library?
Reply #4 - May 24th, 2005, 9:34pm
 
I just replied to Cello's email about his JTablet v0.9.5 library before seeing this exchange. Tablet support is very exciting. I'll learn more about them both.
Re: Tablet library?
Reply #5 - May 25th, 2005, 1:47am
 
I'm not sure that I used the new one, but I was using jwintab_v2.jar in BETA and I had no problem. I used the CODE folder. Drawing in fullscreen with OPENGL is "le grand luxe!" (very nice). I wasn't able to put it as Library.

I tried to figure a way to put it on my friend MAC laptop with no results. Is there an equivalent to jtab for OSx?
Re: Tablet library?
Reply #6 - May 25th, 2005, 4:39pm
 
gll, i'm happy to hear the library is working well for you, unfortunately i only have the pc dll implemented at this point. sorry man!

JTablet is worth checking out as well, maybe he set up a mac version.


amit
Re: Tablet library?
Reply #7 - May 25th, 2005, 5:35pm
 
I tried Cello's JTablet, and I had a small search over the net about that. Marcello might correct me, but It doesn't work on OSx. It seem to be the hell to do it in OSx.

For Linux, I guess they're using WINE. MacOsx>Wine>Win32 ending in an Apple][e look. Fancy, no?

Thanks again, amit, for the Tablet!
Re: Tablet library?
Reply #8 - May 26th, 2005, 8:54am
 
PTablet works perfect for me :] thanks amit!

I couldn't get Cello's lib working. Everytime some library is "just a jar", I can never seem to get it working. It has to be imported with a line like "import cello.jtablet.*", then try throwing/catching an exception... none of these acts are familiar to me. All I get is some error message spit out by jikes telling me the jar doesn't exist

Semantic Error: You need to modify your classpath, sourcepath, bootclasspath, and/or extdirs setup. Jikes could not find package "jtablet" in:

or

java.lang.UnsatisfiedLinkError: no jtablet in java.library.path

??

Re: Tablet library?
Reply #9 - May 26th, 2005, 10:50am
 
Actually Amit
I've been playing around with the tablet lib for a few hours now. It seems that after running it a few times (perhaps 15-20) the tablet class will seem to cease getting information from the tablet, forcing me to restart processing to get it to work again. Is this a known issue? Is there a proper workaround?

*edit*
after playing with it a bit more, it just seems like sometimes the tablet fails to configure. I have a hunch this is due to my wacom intuos 1, since photoshop *sometimes* does that too.. treating tablet input as direct mouse input.
Re: Tablet library?
Reply #10 - May 26th, 2005, 10:04pm
 
Would it be a ton of work to get a tablet library ported to mac? I could help out if somebody knows how to do it. It seems strange that there's no support for it because a lot of mac users have tablets.

ryan

Edit : It'd be way better to have a cross platform library too, cause it seems like there's no other way to have a tablet work on the web.. Flash can't do it, and Director can't either as far as I know..
Re: Tablet library?
Reply #11 - Jun 2nd, 2005, 5:13am
 
Well it's confirmed.
The tablet works one out of about every seven times I run a processing app. The other times simply cause the tablet to not respond to any pressure or tilt signals.

This is only happening this often on my home machine, a windows 2000 with newest drivers and updates :[
Re: Tablet library?
Reply #12 - Jun 2nd, 2005, 7:40pm
 
I got a similar problem on XP. It doesn't work sometimes, no pressure at all and sometimes no cursor move comming from the tablet. I have to remove and replug the device and it's working again.
Re: Tablet library?
Reply #13 - Jun 3rd, 2005, 2:18pm
 
Is this with my jTablet_v2 lib, or cello's lib?

If so, this has to do with Java not releasing the DLL. I need to take a look at that.

amit
Re: Tablet library?
Reply #14 - Jun 3rd, 2005, 11:25pm
 
jtablet :]
Page Index Toggle Pages: 1