Windows Touchscreen

Keith's icon

Hello I have an Asus EP121 Windows 7 Touchscreen tablet that I would like to use with Max5 or 6. I have tested some UI objects and found that in order to actually activate a button I have to move the cursor with my finger. When I initially touch the button nothing happens, after touching and then moving the button is activated. I am running Max 5 and will upgrade to 6 (I tested 6 in demo mode with the same results) if I can get Max to respond properly to Touch control.

Only Max UI objects have this problem, menu items and other Max program interface controls do not behave this way. Is there a way for me to fix this problem? I realize that Max does not support multitouch at this time but at this moment I would just be happy to be able to control one UI object at a time.

thanks
Keith

hankwitecki's icon

Max supports multitouch from Ipad, Iphone, and Android. I don't see why it wouldn't be possible to turn your device into an OSC controller.

Keith's icon

Thanks for the reply Hank. Actually I bought it with the intentions of using it as an OSC controller with Max being the software controller (not Max being controlled by another device).

hankwitecki's icon

So you're actually running MAX on the tablet? That is not really how it was designed to be used. There are so many other ways to communicate with MAX, why would you try to run it on a portable device as an interface?

Are there any settings on the tablet for how it responds to touch data?

BACK TO HELPING YOU:

I still think you have to somehow pull that data from another place. Meaning you will turn the device into an OSC controller with one program, then send that data to MAX. So you are getting everything raw from the tablet, even though you are also running max on it.

You should use Android FROYO
http://www.youtube.com/watch?v=g5Cl9p_L3jI
to emulate the Android OS, then you can run
http://www.appbrain.com/app/max-msp-control/com.maxmspcontrol

that should allow you to use multi touch with your tablet.

Keith's icon

Thanks I'll try that hopefully it will work for me.

I am running Max on a Tablet and it runs fine alongside Ableton, Fruityloops, Reactor, Reaper etc... The tablet has a dual core I5 processor and 4 gigs of Ram so it basically is a computer. I would like to use it along side of my other controllers (Lemurs) to control Ableton and Touch Designer in live Audio Visual performance. Mostly now we are only using Max (and Max for live) for data processing (for midi and Video) and some audio effects on the audio computer. I also use Max as a user interface for Touch Designer (mostly for the easy to use pattrstorage ability to recall presets).

The reason I would like to use Max as a controller is for the versatility in routing and controller data over OSC.

I did just watch the video and your solution might just work perfectly.
I'll keep you posted.

Thanks
Keith

hankwitecki's icon

I totally understand the running of MAX on the tablet, I guess I am just curious what you need to control (with multitouch) on the tablet that you cant control from a lemur?

Keith's icon

The only reason I would like to use Max along with the Lemur is to have more touchscreen space. I'd prefer not to have switch pages on the Lemur so the pad will just give me more surface area.

No luck with Android simulation so far. I installed it but it seemed to lockup when I booted it. I'll try again later tonight. Also I found another way to emulate Android using Virtual Box (virtual OS softare) which I am familiar with. So if the first doesn't work maybe the other will.

Also I was able to make some headway using either the mousestate object or the jit.window. The mouse state wouldn't send out a 1 until I moved my finger but it did show me mouse position immediately.

The jit.window does send a 1 (then 0) without having to move my finger when I lift my finger.

That made me think to check to see how other apps and the OS worked and they all do not execute a button's command until releasing a it (or UI object). So I think this is the driver only sending mouse data upon release. (which is not ideal for performance oriented control). They are no control's that I've found to control how the driver works with mouseclicks(finger clicks).

I'll keep trying...

toddak's icon

Hey Keith,

I've been trawling threads and thought I'd just shoot you a quick question:

I have been curious about running max as a stand alone on a tablet (ie, not using a ipad or similar for a control surface, but having it all self contained within the tablet).

So, dumb question, but just clarifying: You are running max 5 directly from a PC based tablet quite happily?

And as I'm a Mac user... what are the spec's of your tablet?

woodslanding's icon

I'm running max on a windows 7 machine with a touchscreen, and all the max objects are behaving as expected with touch. I wonder if there is a problem with your OSs touch support....

adamklec's icon

Bump.

I believe I'm seeing a similar problem. I have some opengl objects rendered in a jit.window. I want to interact with the 3D objects using my touch screen. It works fine about 80% of the time. But it regularly falls into a state where it does not recognize taps from the touch screen unless I drag my finger after tapping. I've noticed that when it is in this state the button outlet of mousestate never sends a 1 even though I my touch screen sent a tap event because the screen highlights the location of taps with a circle.

I was wondering if anyone else has encountered problems with a Windows touchscreen recently. Any idea where the problem might lie? Drivers? A bug in the way Max handles mouse events that originate from touch screens?