Skip to content

KeyLab_mk3.display

Module constants

  • Line1Text
  • Line2Text
  • PopupLine2Text
  • BUTTON_TYPES
  • display_specification

Classes

class ScreenId(IntEnum)

Bases: IntEnum

Attributes

  • TWO_LINE = 13
  • TWO_LINE_POPUP = 24
  • THREE_LINE_POPUP = 25
  • ENCODER_PARAMETER = 28
  • FADER_PARAMETER = 29
  • ICONIFIED_TWO_LINE_POPUP = 31

class Icon(IntEnum)

Bases: IntEnum

Attributes

  • NONE = 0
  • UP = 1
  • DOWN = 2
  • AUDIO_ARM = 5
  • MIDI_ARM = 6
  • PLAY = 12
  • SOLO = 13
  • STOP = 14
  • ABLETON = 60

class Color

Attributes

  • BLACK = (0, 0, 0)
  • GREY = (66, 66, 66)
  • WHITE = (127, 127, 127)
  • RED = (120, 28, 19)
  • RED_LOW = (30, 7, 4)
  • GREEN = (0, 127, 0)
  • BLUE = (0, 108, 122)
  • YELLOW = (127, 88, 0)

class ParameterContent

class ButtonContent

Attributes

  • text = None
  • icon
  • on_color
  • off_color
  • is_on = False
  • button_type

color(self)

class Content

Attributes

  • primary_lines = None
  • primary_color
  • popup_lines = None
  • popup_colors
  • popup_icon
  • parameter = None
  • context_buttons = None

class Notifications(DefaultNotifications)

Bases: DefaultNotifications

Attributes

  • identify
  • controlled_range = 'mixer'

class Transport(DefaultNotifications.Transport)

Bases: DefaultNotifications.Transport

Attributes
  • tap_tempo

class Device(DefaultNotifications.Device)

Bases: DefaultNotifications.Device

Attributes
  • select = 'device'

Functions

render_notification(state, notification)

create_mixer_popup_screen(state)

create_device_popup_screen(state)

create_mixer_button_content(state)

create_mode_button_content(state, mode_name)

create_navigation_button_content()

create_root_view()

protocol(elements)