From 8e13e7e2874adc8982e16d1d2ed2e28d7480b45f Mon Sep 17 00:00:00 2001 From: chai <215380520@qq.com> Date: Sun, 19 May 2024 16:05:58 +0800 Subject: +1.57 --- .../Decompile/Rewired/SixDofControllerTemplate.cs | 229 +++++++++++++++++++++ 1 file changed, 229 insertions(+) create mode 100644 Thronefall_1_57/Decompile/Rewired/SixDofControllerTemplate.cs (limited to 'Thronefall_1_57/Decompile/Rewired/SixDofControllerTemplate.cs') diff --git a/Thronefall_1_57/Decompile/Rewired/SixDofControllerTemplate.cs b/Thronefall_1_57/Decompile/Rewired/SixDofControllerTemplate.cs new file mode 100644 index 0000000..083b9bc --- /dev/null +++ b/Thronefall_1_57/Decompile/Rewired/SixDofControllerTemplate.cs @@ -0,0 +1,229 @@ +using System; + +namespace Rewired; + +public sealed class SixDofControllerTemplate : ControllerTemplate, ISixDofControllerTemplate, IControllerTemplate +{ + public static readonly Guid typeGuid = new Guid("2599beb3-522b-43dd-a4ef-93fd60e5eafa"); + + public const int elementId_positionX = 1; + + public const int elementId_positionY = 2; + + public const int elementId_positionZ = 0; + + public const int elementId_rotationX = 3; + + public const int elementId_rotationY = 5; + + public const int elementId_rotationZ = 4; + + public const int elementId_throttle1Axis = 6; + + public const int elementId_throttle1MinDetent = 50; + + public const int elementId_throttle2Axis = 7; + + public const int elementId_throttle2MinDetent = 51; + + public const int elementId_extraAxis1 = 8; + + public const int elementId_extraAxis2 = 9; + + public const int elementId_extraAxis3 = 10; + + public const int elementId_extraAxis4 = 11; + + public const int elementId_button1 = 12; + + public const int elementId_button2 = 13; + + public const int elementId_button3 = 14; + + public const int elementId_button4 = 15; + + public const int elementId_button5 = 16; + + public const int elementId_button6 = 17; + + public const int elementId_button7 = 18; + + public const int elementId_button8 = 19; + + public const int elementId_button9 = 20; + + public const int elementId_button10 = 21; + + public const int elementId_button11 = 22; + + public const int elementId_button12 = 23; + + public const int elementId_button13 = 24; + + public const int elementId_button14 = 25; + + public const int elementId_button15 = 26; + + public const int elementId_button16 = 27; + + public const int elementId_button17 = 28; + + public const int elementId_button18 = 29; + + public const int elementId_button19 = 30; + + public const int elementId_button20 = 31; + + public const int elementId_button21 = 55; + + public const int elementId_button22 = 56; + + public const int elementId_button23 = 57; + + public const int elementId_button24 = 58; + + public const int elementId_button25 = 59; + + public const int elementId_button26 = 60; + + public const int elementId_button27 = 61; + + public const int elementId_button28 = 62; + + public const int elementId_button29 = 63; + + public const int elementId_button30 = 64; + + public const int elementId_button31 = 65; + + public const int elementId_button32 = 66; + + public const int elementId_hat1Up = 32; + + public const int elementId_hat1UpRight = 33; + + public const int elementId_hat1Right = 34; + + public const int elementId_hat1DownRight = 35; + + public const int elementId_hat1Down = 36; + + public const int elementId_hat1DownLeft = 37; + + public const int elementId_hat1Left = 38; + + public const int elementId_hat1UpLeft = 39; + + public const int elementId_hat2Up = 40; + + public const int elementId_hat2UpRight = 41; + + public const int elementId_hat2Right = 42; + + public const int elementId_hat2DownRight = 43; + + public const int elementId_hat2Down = 44; + + public const int elementId_hat2DownLeft = 45; + + public const int elementId_hat2Left = 46; + + public const int elementId_hat2UpLeft = 47; + + public const int elementId_hat1 = 48; + + public const int elementId_hat2 = 49; + + public const int elementId_throttle1 = 52; + + public const int elementId_throttle2 = 53; + + public const int elementId_stick = 54; + + IControllerTemplateAxis ISixDofControllerTemplate.extraAxis1 => GetElement(8); + + IControllerTemplateAxis ISixDofControllerTemplate.extraAxis2 => GetElement(9); + + IControllerTemplateAxis ISixDofControllerTemplate.extraAxis3 => GetElement(10); + + IControllerTemplateAxis ISixDofControllerTemplate.extraAxis4 => GetElement(11); + + IControllerTemplateButton ISixDofControllerTemplate.button1 => GetElement(12); + + IControllerTemplateButton ISixDofControllerTemplate.button2 => GetElement(13); + + IControllerTemplateButton ISixDofControllerTemplate.button3 => GetElement(14); + + IControllerTemplateButton ISixDofControllerTemplate.button4 => GetElement(15); + + IControllerTemplateButton ISixDofControllerTemplate.button5 => GetElement(16); + + IControllerTemplateButton ISixDofControllerTemplate.button6 => GetElement(17); + + IControllerTemplateButton ISixDofControllerTemplate.button7 => GetElement(18); + + IControllerTemplateButton ISixDofControllerTemplate.button8 => GetElement(19); + + IControllerTemplateButton ISixDofControllerTemplate.button9 => GetElement(20); + + IControllerTemplateButton ISixDofControllerTemplate.button10 => GetElement(21); + + IControllerTemplateButton ISixDofControllerTemplate.button11 => GetElement(22); + + IControllerTemplateButton ISixDofControllerTemplate.button12 => GetElement(23); + + IControllerTemplateButton ISixDofControllerTemplate.button13 => GetElement(24); + + IControllerTemplateButton ISixDofControllerTemplate.button14 => GetElement(25); + + IControllerTemplateButton ISixDofControllerTemplate.button15 => GetElement(26); + + IControllerTemplateButton ISixDofControllerTemplate.button16 => GetElement(27); + + IControllerTemplateButton ISixDofControllerTemplate.button17 => GetElement(28); + + IControllerTemplateButton ISixDofControllerTemplate.button18 => GetElement(29); + + IControllerTemplateButton ISixDofControllerTemplate.button19 => GetElement(30); + + IControllerTemplateButton ISixDofControllerTemplate.button20 => GetElement(31); + + IControllerTemplateButton ISixDofControllerTemplate.button21 => GetElement(55); + + IControllerTemplateButton ISixDofControllerTemplate.button22 => GetElement(56); + + IControllerTemplateButton ISixDofControllerTemplate.button23 => GetElement(57); + + IControllerTemplateButton ISixDofControllerTemplate.button24 => GetElement(58); + + IControllerTemplateButton ISixDofControllerTemplate.button25 => GetElement(59); + + IControllerTemplateButton ISixDofControllerTemplate.button26 => GetElement(60); + + IControllerTemplateButton ISixDofControllerTemplate.button27 => GetElement(61); + + IControllerTemplateButton ISixDofControllerTemplate.button28 => GetElement(62); + + IControllerTemplateButton ISixDofControllerTemplate.button29 => GetElement(63); + + IControllerTemplateButton ISixDofControllerTemplate.button30 => GetElement(64); + + IControllerTemplateButton ISixDofControllerTemplate.button31 => GetElement(65); + + IControllerTemplateButton ISixDofControllerTemplate.button32 => GetElement(66); + + IControllerTemplateHat ISixDofControllerTemplate.hat1 => GetElement(48); + + IControllerTemplateHat ISixDofControllerTemplate.hat2 => GetElement(49); + + IControllerTemplateThrottle ISixDofControllerTemplate.throttle1 => GetElement(52); + + IControllerTemplateThrottle ISixDofControllerTemplate.throttle2 => GetElement(53); + + IControllerTemplateStick6D ISixDofControllerTemplate.stick => GetElement(54); + + public SixDofControllerTemplate(object payload) + : base(payload) + { + } +} -- cgit v1.1-26-g67d0