On Tue, Mar 19, 2013 at 6:05 PM, Damien Pollet
<damien.pollet@gmail.com> wrote:
Not easy I think... The problem is that VM does not raise events for every key pressed.. And those that does not work are for example ctrl, cmd, shift... Try modifying the following method:
signalEvent: eventBuffer
"Signal the event buffer to all registered event handlers.
Handlers need make sure to copy the buffer or extract the data otherwise, as the buffer will be reused."
--> Transcript show: eventBuffer asString;cr.
self eventHandlers do: [:handler |
handler handleEvent: eventBuffer]
Add the remarked line, open a transcript and press ctrl alone.
It is impossible to know right now if ctrl is being pressed or not by itself :(.�