This is on a Dell XPS1 running Linux. I'm familiar withe the iOS event handling. Cheers, Jeff On Thursday, February 20, 2014, phil@highoctane.be <phil@highoctane.be> wrote:
Rick,
What OS are you using TUIO/OSC on?
If you do iPad stuff, you do not need that as the iOS VM and image can support touch.
Phil
On Thu, Feb 20, 2014 at 6:51 PM, kilon alios <kilon.alios@gmail.com>wrote:
Interesting topic, there is also this
http://www.smalltalkhub.com/#!/~vmariano/Pegasus
but I have not used it so I cant say how usable it is.
On Thu, Feb 20, 2014 at 7:46 PM, J.F. Rick <self@je77.com> wrote:
Thanks for that. Based on that, I investigated a bit further. It seems to be a touch UI problem. I'm using TUIO to read touch events. When doing animations, the OSC process (at user background priority) fails to trigger. I need to change how I use the OSCServer.
Cheers,
Jeff
On Thu, Feb 20, 2014 at 5:48 PM, phil@highoctane.be <phil@highoctane.be>wrote:
I've done such a kind of app (without Athens but with Morphic) on the iPad.
I works nicely.
Now, MorphicUIManager>>spawnNewProcess tells us:
spawnNewProcess
UIProcess := [ [World doOneCycle. Processor yield. false] whileFalse: []. ] newProcess priority: Processor userSchedulingPriority. UIProcess name: 'Morphic UI process'. UIProcess resume
So, World doOneCycle forever.
World being a PasteUpMorph
then we enter this ping pong of double dispatches in the the doOneCycle (I think this could be utterly simplified but hey, it takes courage to go in there. I've got my own scribbled map but it would take quite a while to change things. Add to that that Stef and Igor appear to be working on some event internals so that all of the previous knowledge will be moot...)
PasteUpMorph>>doOneCycle worldState doOneCycleFor: self
with worldState being a WorldState
at one point, the worldState will call the World>>drawOn: aCanvas
Which happens under:
WorldState>>doOneCycleNowFor: aWorld "Immediately do one cycle of the interaction loop. This should not be called directly, but only via doOneCycleFor:"
DisplayScreen checkForNewScreenSize.
"process user input events" LastCycleTime := Time millisecondClockValue. self handsDo: [:h | ActiveHand := h. h processEvents. ActiveHand := nil ].
"the default is the primary hand" ActiveHand := self hands first.
aWorld runStepMethods. "there are currently some variations here" self displayWorldSafely: aWorld.
runStepMethods call into the runLocalStepMethodsIn: aWorld
where all kinds of old thi
-- Jochen "Jeff" Rick, Ph.D. http://www.je77.com/ Skype ID: jochenrick