InvertibleTouchSensor

constructor(@NonNull sensor: TouchSensor)

Creates a new InvertibleTouchSensor that inverts the readings of the given TouchSensor.

Parameters

sensor

the sensor to invert