#plugins.core.controlsurfaces.resolve.manager

Blackmagic DaVinci Resolve Control Surface Support.


#API Overview

Constants - Useful values which cannot be changed

Variables - Configurable values

Functions - API calls offered directly by the extension

Fields - Variables which can only be accessed from an object returned by a constructor


#API Documentation

#Constants

Signatureplugins.core.controlsurfaces.resolve.manager.DEFAULT_JOG_MODE -> string
TypeConstant
DescriptionThe default Jog Wheel Mode.
NotesNone
Sourcesrc/plugins/core/controlsurfaces/resolve/manager/init.lua line 101

Signatureplugins.core.controlsurfaces.resolve.manager.DEFAULT_SENSITIVITY -> number
TypeConstant
DescriptionThe default sensitivity used for Blackmagic Resolve Control Surfaces.
NotesNone
Sourcesrc/plugins/core/controlsurfaces/resolve/manager/init.lua line 96

Signatureplugins.core.controlsurfaces.resolve.manager.LONG_PRESS_DURATION -> number
TypeConstant
DescriptionHow long a button needs to be pressed before it's considered a long press (in seconds).
NotesNone
Sourcesrc/plugins/core/controlsurfaces/resolve/manager/init.lua line 91

#Variables

Signatureplugins.core.controlsurfaces.resolve.manager.defaultLayout -> table
TypeVariable
DescriptionDefault Layout
NotesNone
Sourcesrc/plugins/core/controlsurfaces/resolve/manager/init.lua line 146

Signatureplugins.core.controlsurfaces.resolve.manager.repeatTimers -> table
TypeVariable
DescriptionA table containing hs.timer objects.
NotesNone
Sourcesrc/plugins/core/controlsurfaces/resolve/manager/init.lua line 116

#Functions

Signatureplugins.core.controlsurfaces.resolve.manager.batteryStatus(deviceType, deviceID) -> none
TypeFunction
DescriptionGets the Battery Status for a specific device
Parameters
  • deviceType - A string, either "Speed Editor" or "Editor Keyboard"
  • deviceID - A string with the device ID
Returns
  • charging - A boolean
  • level - The battery level as a number
NotesNone
ExamplesNone
Sourcesrc/plugins/core/controlsurfaces/resolve/manager/init.lua line 247

Signatureplugins.core.controlsurfaces.resolve.manager.buttonCallback(object, buttonID, pressed) -> none
TypeFunction
DescriptionControl Surface Button Callback
Parameters
  • object - The hs.resolve userdata object
  • buttonID - A number containing the button that was pressed/released
  • pressed - A boolean indicating whether the button was pressed (true) or released (false)
Returns
  • None
NotesNone
ExamplesNone
Sourcesrc/plugins/core/controlsurfaces/resolve/manager/init.lua line 318

Signatureplugins.core.controlsurfaces.resolve.manager.discoveryCallback(connected, object) -> none
TypeFunction
DescriptionControl Surface Discovery Callback
Parameters
  • connected - A boolean, true if a device was connected, false if a device was disconnected
  • object - An hs.speededitor object, being the device that was connected/disconnected
Returns
  • None
NotesNone
ExamplesNone
Sourcesrc/plugins/core/controlsurfaces/resolve/manager/init.lua line 962

Signatureplugins.core.controlsurfaces.resolve.manager.start() -> boolean
TypeFunction
DescriptionStops DaVinci Resolve Control Surface Support.
Parameters
  • None
Returns
  • None
NotesNone
ExamplesNone
Sourcesrc/plugins/core/controlsurfaces/resolve/manager/init.lua line 1085

Signatureplugins.core.controlsurfaces.resolve.manager.update() -> none
TypeFunction
DescriptionUpdates all the control surface LEDs.
Parameters
  • None
Returns
  • None
NotesNone
ExamplesNone
Sourcesrc/plugins/core/controlsurfaces/resolve/manager/init.lua line 780

#Fields

Signatureplugins.core.controlsurfaces.resolve.manager.activeBanks <cp.prop: table>
TypeField
DescriptionTable of active banks for each application.
NotesNone
Sourcesrc/plugins/core/controlsurfaces/resolve/manager/init.lua line 164

Signatureplugins.core.controlsurfaces.resolve.manager.automaticallySwitchApplications <cp.prop: boolean>
TypeField
DescriptionEnable or disable the automatic switching of applications.
NotesNone
Sourcesrc/plugins/core/controlsurfaces/resolve/manager/init.lua line 131

Signatureplugins.core.controlsurfaces.resolve.manager.enabled <cp.prop: boolean>
TypeField
DescriptionEnable or disable DaVinci Resolve Control Surface support
NotesNone
Sourcesrc/plugins/core/controlsurfaces/resolve/manager/init.lua line 1163

Signatureplugins.core.controlsurfaces.resolve.manager.items <cp.prop: table>
TypeField
DescriptionA table containing the control surface layout.
NotesNone
Sourcesrc/plugins/core/controlsurfaces/resolve/manager/init.lua line 151

Signatureplugins.core.controlsurfaces.resolve.manager.lastApplication <cp.prop: string>
TypeField
DescriptionLast Bank used in the Preferences Panel.
NotesNone
Sourcesrc/plugins/core/controlsurfaces/resolve/manager/init.lua line 111

Signatureplugins.core.controlsurfaces.resolve.manager.lastBundleID <cp.prop: string>
TypeField
DescriptionThe last Bundle ID.
NotesNone
Sourcesrc/plugins/core/controlsurfaces/resolve/manager/init.lua line 136