[BUG][FIX] YellowButtonBit and BlueButtonBit are swapped
Bert Freudenberg
bert at isg.cs.uni-magdeburg.de
Tue Mar 5 12:07:41 UTC 2002
On Tue, 5 Mar 2002, Bert Freudenberg wrote:
> First of all, that bug should be fixed.
Hmm, I found this old fix (Oct 2000!) by Ned:
http://swiki.gsug.org:8080/sqfixes/1134.html
It seems Morphic and MVC just have different opinions about the button
mapping, while we assumed they are the same:
InputSensor>>yellowButtonPressed
^ self buttons = 2
EventSensor>>initializeEventSensorConstants
#(#(#RedButtonBit 4) #(#BlueButtonBit 2) #(#YellowButtonBit 1)
-- Bert
More information about the Squeak-dev
mailing list
|