Skip to content

CardMappingButtonGroup

Inherits: VBoxContainer

Properties

Type Name Default
State change_input_state
PackedScene button_scene
CustomLogger logger
VBoxContainer container
FocusGroup focus_group
Dropdown dropdown
ValueSlider deadzone

Methods

Returns Signature
void set_source_device_icon_mapping(mapping_name: String)
void set_target_device_icon_mapping(mapping_name: String)
void set_source_capability(capability: String)
void set_callback(callback: Callable)
bool has_mappings()
void set_mapping_type(mapping_type: int)
void set_mappings(mappings: InputPlumberMapping[])
void clear_mapping_buttons()
void update()

Property Descriptions

change_input_state

State change_input_state

Note

There is currently no description for this property. Please help us by contributing one!

button_scene

PackedScene button_scene

Note

There is currently no description for this property. Please help us by contributing one!

logger

CustomLogger logger

Note

There is currently no description for this property. Please help us by contributing one!

container

VBoxContainer container

Note

There is currently no description for this property. Please help us by contributing one!

focus_group

FocusGroup focus_group

Note

There is currently no description for this property. Please help us by contributing one!

Dropdown dropdown

Note

There is currently no description for this property. Please help us by contributing one!

deadzone

ValueSlider deadzone

Note

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

set_source_device_icon_mapping()

void set_source_device_icon_mapping(mapping_name: String)

Set the source input icon's icon mapping

set_target_device_icon_mapping()

void set_target_device_icon_mapping(mapping_name: String)

Set the target input icon's icon mapping

set_source_capability()

void set_source_capability(capability: String)

Set the source capability for this container

set_callback()

void set_callback(callback: Callable)

Note

There is currently no description for this method. Please help us by contributing one!

has_mappings()

bool has_mappings()

Returns true if the group has any mappings configured.

set_mapping_type()

void set_mapping_type(mapping_type: int)

Update the group based on the mapping type.

set_mappings()

void set_mappings(mappings: InputPlumberMapping[])

Configures the container for the given input mappings. This method assumes that the given mappings are all for the same source event.

clear_mapping_buttons()

void clear_mapping_buttons()

Clear all mapping buttons from the container

update()

void update()

Update the group based on the type