Hi, Thanks for the fast answer. But keyDown or keyUp are triggered only for not modifier keys (Tab, space, [0-9a-Z]). When I press Shift, keyDown is not triggered. :(
Cheers, Alex On Fri, Nov 21, 2014 at 4:12 PM, Guillermo Polito <[email protected] > wrote: > Hi, > > I've some hints! > > Try listening to the keyDown and keyUp events of a morph. And take a look > at the #key message of a keyboard event. > > Cheers, > Guille > > On Fri, Nov 21, 2014 at 4:06 PM, Aliaksei Syrel <[email protected]> > wrote: > >> Hi, >> >> In our project we would like to trigger some actions when user presses >> down/up Shift button. But we didn't find how to do it. It seems that such >> keys as Shift, Capslock, Ctrl are event modifiers in Pharo, that apply on >> already existing events (in HandMorph>>generateKeyboardEvent: evtBuf). >> >> Do you have any ideas or maybe have experience concerning described >> problem? >> Thanks in advance. >> >> Cheers, >> Alex >> > >
