Revision [46]

This is an old revision of ChangeSets made by JohnMcIntosh on 2008-09-06 15:59:45.

 

There are a number of minor changes to the standard Squeak image to support the iPhone/iPod Touch.

The VM is altered to expose Touch events as complex event types. This work is done in the VM, but requires a change to the VM code to enable the
event to come up from the primitiveNextEvent

http://svn.isqueak.org/vm/SqueakObjCBasedForOSXAndIPhone/SqueakNoOGLIPhone/changeSets/iPhoneVMChangesJMM.1.cs (or later)

The other change is to interpret the type = EventTypeComplex. At the moment a simple
http://svn.isqueak.org/vm/SqueakObjCBasedForOSXAndIPhone/SqueakNoOGLIPhone/changeSets/JMMTouchEvents01.2.cs

interpretation is to translate a single touch event to mouse down and up.
See
EventSensor processTouchEventType:

Please note it only deals with one finger, and there are some bugs in the 2.0x iPhone software which result in bogus events
Please review the Smalltalk code to understand the implications. Also untested yet is the "self error" we throw when a touch down
is cancelled as a result of an incoming phone call.

There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki