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

Public Member Functions

void setAdjustValueMatcher (AbsoluteHardwareValueMatcher matcher)
 
DoubleValue value ()
 
void disableTakeOver ()
 
AbsoluteHardwareControlBinding addBindingWithRange (AbsoluteHardwarControlBindable target, double minNormalizedValue, double maxNormalizedValue)
 
AbsoluteHardwareControlBinding setBindingWithRange (AbsoluteHardwarControlBindable target, double minNormalizedValue, double maxNormalizedValue)
 
- Public Member Functions inherited from ContinuousHardwareControl< AbsoluteHardwareControlBinding >
HardwareButton hardwareButton ()
 
void setHardwareButton (HardwareButton button)
 
StringValue targetName ()
 
DoubleValue targetValue ()
 
StringValue targetDisplayedValue ()
 
DoubleValue modulatedTargetValue ()
 
StringValue modulatedTargetDisplayedValue ()
 
BooleanValue isUpdatingTargetValue ()
 
BooleanValue hasTargetValue ()
 

Detailed Description

Represents a hardware control that can input and absolute value (for example, a slider, knob or foot pedal).

Since
API version 10

Member Function Documentation

◆ addBindingWithRange()

AbsoluteHardwareControlBinding addBindingWithRange ( AbsoluteHardwarControlBindable  target,
double  minNormalizedValue,
double  maxNormalizedValue 
)

Adds a new binding from this hardware control to the supplied target.

◆ disableTakeOver()

void disableTakeOver ( )

Determines if this hardware control should immediately take over the parameter it is bound to rather than respecting the user's current take over mode.

This is useful for motorized sliders for example, where the slider is already at the value of the bound parameter.

◆ setAdjustValueMatcher()

void setAdjustValueMatcher ( AbsoluteHardwareValueMatcher  matcher)

Sets the AbsoluteHardwareValueMatcher that can be used to detect when the user adjusts the hardware control's value.

See also
MidiIn::createAbsoluteCCValueMatcher(int, int)
MidiIn::createAbsoluteValueMatcher(String, String, int)

◆ setBindingWithRange()

AbsoluteHardwareControlBinding setBindingWithRange ( AbsoluteHardwarControlBindable  target,
double  minNormalizedValue,
double  maxNormalizedValue 
)

Convenience methods that ensures there is only a single binding to the supplied target. This is equivalent to calling clearBindings() and then addBindingWithRange(AbsoluteHardwarControlBindable, double, double)

◆ value()

DoubleValue value ( )

The current value of this hardware control (0..1)


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