Push2.setup_component¶
Module constants¶
PAD_SETTING_STEP_SIZE = 20MAX_DISPLAY_BRIGHTNESS = 255MIN_USER_FACING_LED_BRIGHTNESS = 13MIN_USER_FACING_DISPLAY_BRIGHTNESS = 2
Classes¶
class GeneralSettings(EventObject)¶
Bases: EventObject
Attributes¶
workflowaftertouch_mode
class HardwareSettings(SerializableListenableProperties)¶
Bases: SerializableListenableProperties
Attributes¶
min_led_brightnessmax_led_brightness = 127led_brightnessmin_display_brightnessmax_display_brightnessdisplay_brightness
class DisplayDebugSettings(SerializableListenableProperties)¶
Bases: SerializableListenableProperties
Attributes¶
show_row_spacesshow_row_marginsshow_row_middleshow_button_spacesshow_unlit_buttonshow_lit_button
class Settings(CompoundDisconnectable)¶
Bases: CompoundDisconnectable
__init__(self, preferences, *a, **k)¶
general(self)¶
pad_settings(self)¶
hardware(self)¶
display_debug(self)¶
class GeneralSettingsComponent(Component)¶
Bases: Component
Attributes¶
workflow_encoderaftertouch_mode_encoder
__init__(self, settings, hardware_settings, *a, **k)¶
led_brightness_encoder(self, value, encoder)¶
display_brightness_encoder(self, value, encoder)¶
class PadSettingsComponent(Component)¶
Bases: Component
__init__(self, pad_settings, hardware_settings, *a, **k)¶
sensitivity_encoder(self, value, encoder)¶
gain_encoder(self, value, encoder)¶
dynamics_encoder(self, value, encoder)¶
class DisplayDebugSettingsComponent(Component)¶
Bases: Component
Attributes¶
show_row_spaces_buttonshow_row_margins_buttonshow_row_middle_buttonshow_button_spaces_buttonshow_unlit_button_buttonshow_lit_button_button
__init__(self, settings, *a, **k)¶
class InfoComponent(Component)¶
Bases: Component
__init__(self, firmware_switcher, *a, **k)¶
install_firmware_button(self, button)¶
class SetupComponent(ModesComponent)¶
Bases: ModesComponent
Attributes¶
make_it_go_boom