Open TouchScreenSensorColors.wrl


Receives the multitouch events BS Contact provides and displays a colored spot for every touch.

TouchScreenSensorColors.wrl responds to touchevents events of the Browser.Event node. This event type
conforms to the standard way of providing multitouch events to an application:
Every touch gets an ID and an array of touch records describe which touch has moved, ended, or is new.

TouchScreenSensorColors-ifc2.wrl responds to touchpoints events, which conform to an alternative
way of providing multitouch events. BS Contact already checks the IDs of each touch record and
associates them with the proper touch. The content therefore receives a list of touches, with some
indication of which have changed.