Sensor kbdTest HTH, Adrian
On Feb 24, 2009, at 09:48 , Igor Stasenko wrote: > 2009/2/24 Michael Rueger <m.rue...@acm.org>: >> Igor Stasenko wrote: >> >>> what is not very convenient is that copy/paste (as well as the >>> rest of >>> keyboard shortcuts ) is not working when keyboard layout not >>> english. >> >> If you could be so kind to tell me what comes back in slot 3 of the >> input event on your Russian keyboard if you simply type the >> equivalent >> of 'xcv' (without alt or ctrl)? >> >> I'm interested in what comes back on the keyDown and the keystroke >> event. >> > > I tried something like this > > [ | event | > event := Sensor peekEvent. > event ifNotNil: [ > ((event first = 2) and: [event fourth = 1] ) ifTrue: [ > Transcript show: (event third printStringRadix: 16); cr. > ] ] ] repeat > > but it not shows anything :( > Have a snippet which i can run to show key codes? > > > >> Thanks >> >> Michael >> >> _______________________________________________ >> Pharo-project mailing list >> Pharo-project@lists.gforge.inria.fr >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> > > > > -- > Best regards, > Igor Stasenko AKA sig. > > _______________________________________________ > Pharo-project mailing list > Pharo-project@lists.gforge.inria.fr > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project