[Pharo-project] [squeak-dev] Re: Rewriting an Input/EventSensor
code
K. K. Subramaniam
subbukk at gmail.com
Sun Mar 22 14:17:19 UTC 2009
On Saturday 21 Mar 2009 9:51:10 pm Igor Stasenko wrote:
> This is the role of EventSource class - represent VM as event source,
> which producing an instances of KernelXXXEvent classes, and hiding the
> details of converting raw event buffers from the eyes of higher
> layers, which then going to handle the event (EventSensor/Morphic etc)
A plain translation of events is not sufficient. The traditional keyboard
(ASCII + modifiers) event type breaks down for the handhelds and newer
devices (e.g. Nokia N810 does not have an ALT key!). It does not accomodate
gestures (e.g. tilting or rocking). Squeak VM needs a flexible filter layer
to translate such gestures to characters (e.g. Chinese or Indic) and
commands. Plugins, perhaps?
Subbu
More information about the Squeak-dev
mailing list
|