Class representing the settings UI handler for keyboards.

Hierarchy (view full)

Constructors

Properties

actionsBg: NineSlice
active: boolean = false
bindingSettings: String[]
commonSettingsCount: any
configs: any
cursor: number = 0
cursorObj: NineSlice
inputsIcons: InputsIcons
keys: String[]
layout: Map<string, LayoutConfig> = ...
localStoragePropertyName: any
mode: number
navigationContainer: default
navigationIcons: InputsIcons
optionCursors: number[]
optionValueLabels: Text[][]
optionsBg: NineSlice
optionsContainer: Container
rowsToDisplay: number
scene: default
scrollCursor: number
settingBlacklisted: any
settingDevice: any
settingDeviceDefaults: any
settingDeviceOptions: any
settingLabels: Text[]
settingsContainer: Container
textureOverride: any
titleSelected: any

Methods

  • Set the option cursor to the specified position.

    Parameters

    • settingIndex: number

      The index of the setting.

    • cursor: number

      The cursor position to set.

    • Optional save: boolean

      Whether to save the setting to local storage.

    Returns boolean

    true if the option cursor was set successfully.