Ah, great. You’ve been due for a couple new machines.
I just got a lenovo touchscreen myself and love it (have always been a mac guy, but gotta give it to them on this one).
You’ll find that buttons and sliders and the midikeyboardComponent all need some tweaking for the touch events to work (as you know, touch events trigger down and up immediately, then you need a timer for dragging, and they go back to -1,-1 instead of mouseUp).
I wrote a simple surrogate class last week that intercepts all the mouse events and translates them into mouseDown/Up/Drag events the way Juce expects to see them. I suspect you will have better solutions, but it was quick and easy to just translate them back into the more standard paradigm.
FYI - I’ve been very pleasantly surprised at the speed of the touchEvents (way faster than traditional mouse events). So creating a touch based drum/sample player and turntables has worked out surprisingly well.
Ok - per the discussion at hand, I could dig a little deeper. So far I just stepped through the calls … it definitely came back from the createStream with a 0 (because it thought the amount to read was 0). Why that happened, I’m not sure.
I’ll take another look today and post anything of interest.