[squeak-dev] InputSensor, EventSensor miscategorised?

Bert Freudenberg bert at freudenbergs.de
Fri Jan 29 22:08:34 UTC 2016


On 29.01.2016, at 22:28, Frank Shearar <frank.shearar at gmail.com> wrote:
> 
> initialize
>    Environment current bind: #Sensor to: EventSensor.
> 
> Sound good?

Nope.

You don’t need to do anything special. MVC works fine using EventSensor. In every image ever since Morphic took over, Sensor has been an instance of EventSensor. Only before that it was an instance of InputSensor.

The easiest thing would be to simply move InputSensor into the same package as EventSensor.

Second-easiest would be to do the cleanup Tim suggested and get rid of InputSensor by moving all its still-needed methods to EventSensor and then deleting that class.

Packaging-wise the result would be the same: no InputSensor in the St80 package.

- Bert -

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4207 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20160129/d163afad/smime.bin


More information about the Squeak-dev mailing list