From c086eb4bd9c99b38a00fad44eca79fcff07e01ac Mon Sep 17 00:00:00 2001 From: 3djc Date: Sat, 27 Jul 2024 11:37:43 +0200 Subject: [PATCH] fix(lua): axis names for T15, T14, T12Max (#5331) --- radio/util/hw_defs/legacy_names.py | 32 ++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/radio/util/hw_defs/legacy_names.py b/radio/util/hw_defs/legacy_names.py index 32712cf4f77..e98a5d690ff 100644 --- a/radio/util/hw_defs/legacy_names.py +++ b/radio/util/hw_defs/legacy_names.py @@ -93,16 +93,24 @@ "targets": {"t15"}, "inputs": { "LH": { - "yaml": "Rud" + "yaml": "Rud", + "lua": "rud", + "description": "Rudder" }, "LV": { - "yaml": "Ele" + "yaml": "Ele", + "lua": "ele", + "description": "Elevator" }, "RV": { - "yaml": "Thr" + "yaml": "Thr", + "lua": "thr", + "description": "Throttle" }, "RH": { - "yaml": "Ail" + "yaml": "Ail", + "lua": "ail", + "description": "Aileron" }, "P1": { "yaml": "S1", @@ -382,16 +390,24 @@ "targets": {"t14", "t12max"}, "inputs": { "LH": { - "yaml": "Rud" + "yaml": "Rud", + "lua": "rud", + "description": "Rudder" }, "LV": { - "yaml": "Ele" + "yaml": "Ele", + "lua": "ele", + "description": "Elevator" }, "RV": { - "yaml": "Thr" + "yaml": "Thr", + "lua": "thr", + "description": "Throttle" }, "RH": { - "yaml": "Ail" + "yaml": "Ail", + "lua": "ail", + "description": "Aileron" }, "P1": { "yaml": "POT1",