Bitwig Studio Control Surface API  5.0.11
HardwareButton Interface Reference
+ Inheritance diagram for HardwareButton:

Public Member Functions

HardwareAction pressedAction ()
 
HardwareAction releasedAction ()
 
BooleanValue isPressed ()
 
void setAftertouchControl (AbsoluteHardwareControl control)
 
void setRoundedCornerRadius (double radiusInMM)
 
- Public Member Functions inherited from HardwareControl
String getName ()
 
void setName (String name)
 
void setIndexInGroup (int index)
 
HardwareAction beginTouchAction ()
 
HardwareAction endTouchAction ()
 
BooleanValue isBeingTouched ()
 
HardwareLight backgroundLight ()
 
void setBackgroundLight (HardwareLight light)
 
- Public Member Functions inherited from HardwareElement
String getId ()
 
String getLabel ()
 
void setLabel (String label)
 
Color getLabelColor ()
 
void setLabelColor (Color color)
 
RelativePosition getLabelPosition ()
 
void setLabelPosition (RelativePosition position)
 
void setBounds (double xInMM, double yInMM, double widthInMM, double heightInMM)
 
double getX ()
 
double getY ()
 
double getWidth ()
 
double getHeight ()
 

Detailed Description

Represents a physical hardware button on a controller

Since
API version 10

Member Function Documentation

◆ isPressed()

BooleanValue isPressed ( )

Button state

◆ pressedAction()

HardwareAction pressedAction ( )

Action that happens when the user presses the button.

◆ releasedAction()

HardwareAction releasedAction ( )

Action that happens when the user releases the button.

◆ setAftertouchControl()

void setAftertouchControl ( AbsoluteHardwareControl  control)

Sets the optional control that represents the aftertouch value for this button.

◆ setRoundedCornerRadius()

void setRoundedCornerRadius ( double  radiusInMM)

An indication of how rounded the corners of this button should be.


The documentation for this interface was generated from the following file: