[Vm-dev] iOS VM and external bluetooth keyboard: it works!

phil at highoctane.be phil at highoctane.be
Sun Mar 3 23:45:03 UTC 2013


Thanks for this. Never came across that doc.
Got the homepage but no links there. Go figure.

My store concern is not about the UIApplication subclassing. It is is
about picking internal GSEvents.

In fact I am finding myself reimplementing a keyboard driver from raw
scancodes and modifers. At this point I wonder if it is is best to
craft it inside the C code or just pass the scancodes to the image and
deal with that in the sensor and handmorph. Or do some Slang and
generate the code.
Phil

2013/3/3 John McIntosh <johnmci at smalltalkconsulting.com>:
>
> Ok well Apple notes: "You might decide to subclass UIApplication to
> override sendEvent: or sendAction:to:from:forEvent: to implement
> custom event and action dispatching. However, there is rarely a valid
> need to extend this class; the application delegate
> (UIApplicationDelegate is sufficient for most occasions. If you do
> subclass UIApplication, be very sure of what you are trying to
> accomplish with the subclass."
>
> But you can sub the app to the store if you wish.
>
>
>>
>> I am sending the event to the squeak vm on KEYUP but I can also get
>> KEYDOWN and the char itself. Not sure what's best for Squeak/Pharo in
>> the image. If someone can tell me, it would be great.
>
> As always refer to the documentation
>
> http://isqueak.org/ioGetNextEvent
> http://isqueak.org/EventTypeComplex
>
>
> --
> ===========================================================================
> John M. McIntosh <johnmci at smalltalkconsulting.com>
> Corporate Smalltalk Consulting Ltd. Twitter: squeaker68882
> ===========================================================================
>


More information about the Vm-dev mailing list