addon for remapping inputs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[gd_scene load_steps=3 format=2]

[ext_resource path="res://addons/remap/ActionLabel.gd" type="Script" id=1]
[ext_resource path="res://addons/remap/InteractiveActionLabel.gd" type="Script" id=2]

[node name="Test" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0

[node name="ActionLabel" type="HBoxContainer" parent="."]
anchor_right = 1.0
script = ExtResource( 1 )
_name = "lef"
action = "ui_left"

[node name="InteractiveActionLabel" type="HBoxContainer" parent="."]
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
margin_left = 4.0
margin_bottom = 15.0
script = ExtResource( 2 )
_name = "right"
action = "ui_right"