# plugins.core.razer.manager

Razer Manager Plugin.


# API Overview

Constants - Useful values which cannot be changed

  • bankLabels
  • supportedDevices

Variables - Configurable values

  • defaultLayout
  • manager

Functions - API calls offered directly by the extension

  • refresh
  • reset
  • resetTimers

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

  • activeBanks
  • automaticallySwitchApplications
  • backlightBrightness
  • backlightEffectColorA
  • backlightEffectColorB
  • backlightEffectDirection
  • backlightEffectSpeed
  • backlightsMode
  • delayUntilRepeat
  • displayMessageWhenChangingBanks
  • enabled
  • items
  • keyRepeat
  • lastBundleID

# API Documentation

# Constants

# bankLabels

Signature plugins.core.razer.manager.bankLabels -> table
Type Constant
Description Table of bank labels, which reflect the LED icons.
Notes None
Source src/plugins/core/razer/manager/init.lua line 74

# supportedDevices

Signature plugins.core.razer.manager.supportedDevices -> table
Type Constant
Description Table supported devices.
Notes None
Source src/plugins/core/razer/manager/init.lua line 61

# Variables

# defaultLayout

Signature plugins.core.razer.manager.defaultLayout -> table
Type Variable
Description Default Loupedeck CT Layout
Notes None
Source src/plugins/core/razer/manager/init.lua line 403

# manager

Signature plugins.core.razer.manager -> table
Type Variable
Description A table of Razer devices.
Notes None
Source src/plugins/core/razer/manager/init.lua line 463

# Functions

# refresh

Signature plugins.core.razer.manager.refresh(trashCache) -> none
Type Function
Description Refreshes the LEDs on a Razer device.
Parameters
  • trashCache - an optional boolean to trash the LED cache
Returns
  • None
Notes None
Examples None
Source src/plugins/core/razer/manager/init.lua line 723

# reset

Signature plugins.core.razer.manager.reset()
Type Function
Description Resets the config back to the default layout.
Parameters
  • completelyEmpty - A boolean
Returns
  • None
Notes None
Examples None
Source src/plugins/core/razer/manager/init.lua line 1369

# resetTimers

Signature plugins.core.razer.manager.resetTimers() -> none
Type Function
Description Resets all the various timers and memories.
Parameters
  • None
Returns
  • None
Notes None
Examples None
Source src/plugins/core/razer/manager/init.lua line 1258

# Fields

# activeBanks

Signature plugins.core.razer.manager.activeBanks <cp.prop: table>
Type Field
Description Table of active banks for each application.
Notes None
Source src/plugins/core/razer/manager/init.lua line 428

# automaticallySwitchApplications

Signature plugins.core.razer.manager.automaticallySwitchApplications <cp.prop: boolean>
Type Field
Description Enable or disable the automatic switching of applications.
Notes None
Source src/plugins/core/razer/manager/init.lua line 413

# backlightBrightness

Signature plugins.core.razer.manager.backlightBrightness <cp.prop: table>
Type Field
Description The backlights brightness for all the Razer devices.
Notes None
Source src/plugins/core/razer/manager/init.lua line 438

# backlightEffectColorA

Signature plugins.core.razer.manager.backlightEffectColorA <cp.prop: table>
Type Field
Description The backlight effect primary color.
Notes None
Source src/plugins/core/razer/manager/init.lua line 443

# backlightEffectColorB

Signature plugins.core.razer.manager.backlightEffectColorB <cp.prop: table>
Type Field
Description The backlight effect secondary color.
Notes None
Source src/plugins/core/razer/manager/init.lua line 448

# backlightEffectDirection

Signature plugins.core.razer.manager.backlightEffectDirection <cp.prop: table>
Type Field
Description The backlight effect direction.
Notes None
Source src/plugins/core/razer/manager/init.lua line 453

# backlightEffectSpeed

Signature plugins.core.razer.manager.backlightEffectSpeed <cp.prop: table>
Type Field
Description The backlight effect speed.
Notes None
Source src/plugins/core/razer/manager/init.lua line 458

# backlightsMode

Signature plugins.core.razer.manager.backlightsMode <cp.prop: table>
Type Field
Description The backlights mode for all the Razer devices.
Notes None
Source src/plugins/core/razer/manager/init.lua line 433

# delayUntilRepeat

Signature plugins.core.razer.manager.delayUntilRepeat <cp.prop: string>
Type Field
Description Delay Until Repeat Preference.
Notes None
Source src/plugins/core/razer/manager/init.lua line 51

# displayMessageWhenChangingBanks

Signature plugins.core.razer.manager.displayMessageWhenChangingBanks <cp.prop: boolean>
Type Field
Description Display message when changing banks?
Notes None
Source src/plugins/core/razer/manager/init.lua line 418

# enabled

Signature plugins.core.razer.manager.enabled <cp.prop: boolean>
Type Field
Description Is Loupedeck CT support enabled?
Notes None
Source src/plugins/core/razer/manager/init.lua line 1274

# items

Signature plugins.core.razer.manager.items <cp.prop: table>
Type Field
Description Contains all the saved TourBox layouts.
Notes None
Source src/plugins/core/razer/manager/init.lua line 408

# keyRepeat

Signature plugins.core.razer.manager.keyRepeat <cp.prop: string>
Type Field
Description Key Repeat Preference.
Notes None
Source src/plugins/core/razer/manager/init.lua line 46

# lastBundleID

Signature plugins.core.razer.manager.lastBundleID <cp.prop: table>
Type Field
Description The last used bundle ID.
Notes None
Source src/plugins/core/razer/manager/init.lua line 423