API reference
API reference
Select your platform
No SDKs available
No versions available

PanelInputOptions Class

Modifiers: open
Configuration for panel input handling, controlling which controller buttons trigger click events. Implements PanelConfigOptionsModifier to apply input settings to the underlying PanelConfigOptions. The clickButtons bitmask determines which physical buttons register as panel clicks — defaults to PanelConfigOptions.DEFAULT_CLICK_BUTTONS.

Signature

open class PanelInputOptions(val clickButtons: Int = PanelConfigOptions.DEFAULT_CLICK_BUTTONS) : PanelConfigOptionsModifier

Constructors

PanelInputOptions ( clickButtons )
Signature
constructor(clickButtons: Int = PanelConfigOptions.DEFAULT_CLICK_BUTTONS)
Parameters
clickButtons: Int  Bitmask of controller button flags that should trigger click events on this panel. Defaults to the standard click button configuration.

Properties

clickButtons : Int
[Get]
Bitmask of controller button flags that should trigger click events on this panel. Defaults to the standard click button configuration.
Signature
open val clickButtons: Int

Methods

applyTo ( options )
Applies this input configuration to the target PanelConfigOptions, setting the click button bitmask that determines which controller buttons trigger panel interactions.
Signature
open override fun applyTo(options: PanelConfigOptions)
Parameters