1. multi-touch [index]contact point [tp_num] is touched?

Multi-touch - 图1

Determines whether the specified contact point on the specified multi-touch sensor is touched

How to Use

The number in this block indicates the place of a multi-touch sensor among the ones connected to Halocode. As shown in the following figure, the number 1 indicates the first multi-touch sensor connected to Halocode, 2 indicates the second one, and so on.
Multi-touch - 图2
A multi-touch sensor includes eight contact points. The following figure shows the position of each contact point.
Multi-touch - 图3

Note: This is a Boolean block that contains a condition. Use it in combination with another block that requires a condition.

Example

Multi-touch - 图4

After you press the space key and touch the first contact point on the first multi-touch sensor connected to Halocode, the first LED on Halocode is lit up in red.


2. multi-touch [index]resets threshold, sets sensitivity to [sensitivity]

Multi-touch - 图5

Resets the threshold and sets the sensitivity of the specified multi-touch sensor

How to Use

Click to select a multi-touch sensor and set the sensitivity.

Example

Multi-touch - 图6

When you press the space key, the threshold of the first multi-touch sensor is reset and its sensitivity is set to high.