ILibrary
;ICotaskConstructor
using getCotaskConstructor
;ICotask
.ICotask.getTouchChannelsCount
method. For the current version of Bracer this number is 1
. For each of the channels two types of values are available:ICotask.getTouchNativeValue
returns the raw value from the sensor. It has no units of measurement. Pressing harder decreases this value.touch/WindowN
, where N is the channel number. It’s value is displayed as two numbers separated by a space. One of them indicates the minimum value for TouchWindow
, the second is for the maximum value.ICotaskBatteryPowered.getBatteryLevel
returns the current level of battery charge in the range of 0..1
. 0
is for 0%, 1
is for 100%.Vibration
structure is used. It has two fields:Vibration
pass in method ICotask.executeVibrationSequence
as parameter. This method manage haptic vibration control.