These are all known types of control buttons.
You can find out which buttons a device has by calling getButtons(), and can get the name of a button type with getButtonName().
| Enumerator |
|---|
| mode | The side button on a lightpad block and the first button on a live/loop block.
|
| volume | The volume button on a live/loop block.
|
| up | The up button on a control block.
|
| down | The down button on a control block.
|
| scale | The scale button on a live block.
|
| chord | The chord button on a live block.
|
| arp | The arp button on a live block.
|
| sustain | The sustain button on a live block.
|
| octave | The octave button on a live block.
|
| love | The love button on a live block.
|
| click | The click button on a loop block.
|
| snap | The snap button on a loop block.
|
| back | The back button on a loop block.
|
| playOrPause | The play or pause button on a loop block.
|
| record | The record button on a loop block.
|
| learn | The learn button on a loop block.
|
| button0 | Button 0 on a developer block.
|
| button1 | Button 1 on a developer block.
|
| button2 | Button 2 on a developer block.
|
| button3 | Button 3 on a developer block.
|
| button4 | Button 4 on a developer block.
|
| button5 | Button 5 on a developer block.
|
| button6 | Button 6 on a developer block.
|
| button7 | Button 7 on a developer block.
|
| velocitySensitivity | The velocity sensitivity button on a touch block.
|
| glideSensitivity | The glide sensitivity button on a touch block.
|
| slideSensitivity | The slide sensitivity button on a touch block.
|
| pressSensitivity | The press sensitivity button on a touch block.
|
| liftSensitivity | The lift sensitivity button on a touch block.
|
| fixedVelocity | The fixed velocity button on a touch block.
|
| glideLock | The glide lock button on a touch block.
|
| pianoMode | The piano mode button on a touch block.
|