On 21.09.2015, at 01:40, Javier Diaz-Reinoso <javier_diaz_r@mac.com> wrote:I am also interested in this, so I wasted a few days and finally have a (original) Squeak 4.1 image working in mi old iPad 2:<Photo on 9-20-15 at 18.31.jpeg>Nice!the clock works, but that is all, I can’t enter anything, I know I need modifications in the image, but before I spend more days in this, can any people who knows send me advice and perhaps a change set with the modifications?You can dig around on John McIntosh’s site but I don’t think there’s a comprehensible set of changes yet.
What I did years ago was adding image-side support for multi-touch, plus an on-screen alt key [*]. That’s not strictly necessary though, the VM could (and IMHO should) generate mouse events itself. Still, you need a way to bring up the keyboard (which I ‘solved’ back then by hacking the VM to show the keyboard when rotating to portrait orientation).
The proper way to do this (IMHO) would be by implementing an IMM plugin for iOS just like we have for X11 etc. Morphic calls a plugin function whenever a text input field gets focused, which could be used to trigger the keyboard. But AFAIK nobody has gone that route yet, instead relying on the ObjectiveCBridge plugin to call OS functions directly.Your best bet if you want to avoid doing it yourself would be contacting the makers of Pyonkee, the most complex Squeak app in the Apple App Store yet. There is also DrGeo, for which Esteban did the VM work. And since all this is still pretty experimental, continuing this discussion on the VM dev list would be a good idea :)- Bert -