From 9ddb2bdcb6e2e5161b55cf29870a4244a9e83b28 Mon Sep 17 00:00:00 2001 From: Davide_Lentini <74407457+DavideLentini@users.noreply.github.com> Date: Fri, 16 Feb 2024 16:28:14 +0100 Subject: [PATCH] Feat:Add Taranis X9D --- .../supported_devices.json | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/src/skybrush_ext_rc_gamepad/supported_devices.json b/src/skybrush_ext_rc_gamepad/supported_devices.json index 9c43d3b..3e5f317 100644 --- a/src/skybrush_ext_rc_gamepad/supported_devices.json +++ b/src/skybrush_ext_rc_gamepad/supported_devices.json @@ -402,6 +402,69 @@ "signed": true } ] + }, + { + "match": [ + { + "vid": "0x1209", + "pid": "0x4F54", + "description": "FrSky Taranis X9D" + } + ], + "controls": [ + { + "channel": 1, + "type": "axis", + "offset": 4, + "signed": true + }, + { + "channel": 2, + "type": "axis", + "offset": 6, + "signed": true + }, + { + "channel": 3, + "type": "axis", + "offset": 8, + "signed": true + }, + { + "channel": 4, + "type": "axis", + "offset": 10, + "signed": true + + }, + { + "channel": 5, + "type": "button", + "offset": 12, + "value": 2000 + }, + { + "channel": 6, + "type": "axis", + "offset": 14, + "signed": true + + }, + { + "channel": 7, + "type": "axis", + "offset": 16, + "signed": true + + }, + { + "channel": 8, + "type": "axis", + "offset": 18, + "signed": true + + } + ] } ] }