[squeak-dev] Multiple Hands (was: Dependencies on Cursor)

Bert Freudenberg bert at freudenbergs.de
Wed Jun 26 17:33:22 UTC 2013


On 26.06.2013, at 10:04, Herbert König <herbertkoenig at gmx.net> wrote:

> Hi,
> 
> WorldState>>activeHand and friends still exist. Never made use of that but I assumed every hand is / has a separate cursor?


Indeed. The primary hand is mapped to the system pointer ("hardware cursor") and every other hand is drawn by Morphic.

My multi-touch implementation for the iPad maps each finger to a separate hand. This lets you drag around multiple morphs at the same time without any special coding effort, it just works.

Also, a long time ago (around Squeak 2.8) I published a neat Linux hack where every mouse you plugged into the system would show up as a separate hand.

The original use case was within Nebraska though, were every remote participant got their own hand (see RemoteHandMorph).

There is also the event recorder and playback which uses a secondary hand.

- Bert -



More information about the Squeak-dev mailing list