'From etoys4.0 of 9 October 2008 [latest update: #2216] on 7 May 2009 at 10:56:45 pm'! "Change Set: allKeystrokes-sw Date: 7 May 2009 Author: Scott Wallace Report all keystrokes to all consumers of #lastKeystroke, even if they are also consumed by some object other than the World."! !KeyboardEvent methodsFor: 'private' stamp: 'sw 5/7/2009 22:52'! setType: aSymbol buttons: anInteger position: pos keyValue: aValue hand: aHand stamp: stamp type _ aSymbol. buttons _ anInteger. position _ pos. keyValue _ aValue. source _ aHand. wasHandled _ false. timeStamp _ stamp. type = #keystroke ifTrue: [ActiveWorld ifNotNil: [ActiveWorld lastKeystroke: self keyString]]! !