From 2f158f97d77326a74f32666f6aaad3e4850a674e Mon Sep 17 00:00:00 2001 From: Matteo Hausner Date: Sat, 2 Mar 2024 09:53:32 +0100 Subject: [PATCH] DCS FW-190D9 profile: cleaned up, refined curves, added descriptions --- DCS_FW-190D9.json | 193 ++++++++++++---------- configs/DCS/FW-190D9/vJoy Device.diff.lua | 17 +- 2 files changed, 123 insertions(+), 87 deletions(-) diff --git a/DCS_FW-190D9.json b/DCS_FW-190D9.json index dea82d8..eec5222 100644 --- a/DCS_FW-190D9.json +++ b/DCS_FW-190D9.json @@ -82,7 +82,8 @@ "exponent": 1.0, "initialValue": 0.0, "virtualAxis": "RZ", - "invert": false + "invert": false, + "description": "Rudder" } } ], @@ -98,7 +99,8 @@ "exponent": 2.0, "initialValue": 1.0, "virtualAxis": "Z", - "invert": false + "invert": false, + "description": "Throttle" } } ], @@ -112,7 +114,8 @@ "exponent": 1.0, "initialValue": 0.0, "virtualAxis": "X", - "invert": false + "invert": false, + "description": "Roll" } } ], @@ -126,26 +129,22 @@ "exponent": 1.0, "initialValue": 0.0, "virtualAxis": "Y", - "invert": false + "invert": false, + "description": "Pitch" } } ], "4": [ { - "type": "de.bwravencl.controllerbuddy.input.action.AxisToKeyAction", + "type": "de.bwravencl.controllerbuddy.input.action.AxisToButtonAction", "data": { + "longPress": false, "minAxisValue": 0.5, "maxAxisValue": 1.0, - "activation": "REPEAT", - "longPress": false, - "keystroke": { - "keyCodes": [ - "Space" - ], - "modifierCodes": [] - }, + "buttonId": 1, "minActivationInterval": 0, - "maxActivationInterval": 0 + "maxActivationInterval": 0, + "description": "MG131/151 fire" } } ], @@ -158,7 +157,8 @@ "maxAxisValue": 1.0, "buttonId": 0, "minActivationInterval": 0, - "maxActivationInterval": 0 + "maxActivationInterval": 0, + "description": "MG131 fire" } } ] @@ -248,7 +248,8 @@ ] }, "minActivationInterval": 0, - "maxActivationInterval": 0 + "maxActivationInterval": 0, + "description": "Weapon release" } } ], @@ -301,7 +302,8 @@ "modifierCodes": [] }, "minActivationInterval": 0, - "maxActivationInterval": 0 + "maxActivationInterval": 0, + "description": "Landing Gear Up/Down" } } ], @@ -409,7 +411,8 @@ "exponent": 1.0, "initialValue": -1.0, "virtualAxis": "S0", - "invert": false + "invert": false, + "description": "Wheel Brake Left" } } ], @@ -423,58 +426,14 @@ "exponent": 1.0, "initialValue": -1.0, "virtualAxis": "S1", - "invert": false + "invert": false, + "description": "Wheel Brake Right" } } ] }, "buttonToActionsMap": {} }, - { - "uuid": "ba92eccb-5498-46e9-943d-c18b60c53429", - "description": "Cowl", - "axisToActionsMap": {}, - "buttonToActionsMap": { - "11": [ - { - "type": "de.bwravencl.controllerbuddy.input.action.ButtonToKeyAction", - "data": { - "activation": "REPEAT", - "longPress": false, - "keystroke": { - "keyCodes": [ - "A" - ], - "modifierCodes": [ - "L Ctrl" - ] - }, - "minActivationInterval": 0, - "maxActivationInterval": 0 - } - } - ], - "13": [ - { - "type": "de.bwravencl.controllerbuddy.input.action.ButtonToKeyAction", - "data": { - "activation": "REPEAT", - "longPress": false, - "keystroke": { - "keyCodes": [ - "A" - ], - "modifierCodes": [ - "L Alt" - ] - }, - "minActivationInterval": 0, - "maxActivationInterval": 0 - } - } - ] - } - }, { "uuid": "242f7006-11a9-4303-8858-d9e2d065c3c8", "description": "Look / Comm", @@ -491,7 +450,8 @@ "exponent": 3.0, "initialValue": 0.0, "virtualAxis": "RX", - "invert": false + "invert": false, + "description": "Absolute Camera Horizontal View" } } ], @@ -507,7 +467,8 @@ "exponent": 3.0, "initialValue": 0.0, "virtualAxis": "RY", - "invert": false + "invert": false, + "description": "Absolute Camera Vertical View" } } ], @@ -538,7 +499,7 @@ "longPress": true, "minAxisValue": 0.5, "maxAxisValue": 1.0, - "buttonId": 1, + "buttonId": 2, "minActivationInterval": 0, "maxActivationInterval": 0, "description": "COMM Push to talk (VOIP)" @@ -563,7 +524,8 @@ ] }, "minActivationInterval": 0, - "maxActivationInterval": 0 + "maxActivationInterval": 0, + "description": "Cockpit Camera Move Back" } } ], @@ -601,7 +563,8 @@ ] }, "minActivationInterval": 0, - "maxActivationInterval": 0 + "maxActivationInterval": 0, + "description": "Cockpit Camera Move Forward" } } ], @@ -657,7 +620,8 @@ ] }, "minActivationInterval": 0, - "maxActivationInterval": 0 + "maxActivationInterval": 0, + "description": "Cockpit Camera Move Up" } } ], @@ -677,7 +641,8 @@ ] }, "minActivationInterval": 0, - "maxActivationInterval": 0 + "maxActivationInterval": 0, + "description": "Cockpit Camera Move Right" } } ], @@ -697,7 +662,8 @@ ] }, "minActivationInterval": 0, - "maxActivationInterval": 0 + "maxActivationInterval": 0, + "description": "Cockpit Camera Move Down" } } ], @@ -816,6 +782,53 @@ ] } }, + { + "uuid": "ba92eccb-5498-46e9-943d-c18b60c53429", + "description": "Radiator", + "axisToActionsMap": {}, + "buttonToActionsMap": { + "11": [ + { + "type": "de.bwravencl.controllerbuddy.input.action.ButtonToKeyAction", + "data": { + "activation": "REPEAT", + "longPress": false, + "keystroke": { + "keyCodes": [ + "A" + ], + "modifierCodes": [ + "L Ctrl" + ] + }, + "minActivationInterval": 0, + "maxActivationInterval": 0, + "description": "Radiator Flaps Close" + } + } + ], + "13": [ + { + "type": "de.bwravencl.controllerbuddy.input.action.ButtonToKeyAction", + "data": { + "activation": "REPEAT", + "longPress": false, + "keystroke": { + "keyCodes": [ + "A" + ], + "modifierCodes": [ + "L Alt" + ] + }, + "minActivationInterval": 0, + "maxActivationInterval": 0, + "description": "Radiator Flaps Open" + } + } + ] + } + }, { "uuid": "c449dcf2-3e5c-4229-aed7-70bd3278ab0f", "description": "Sight", @@ -834,7 +847,8 @@ "modifierCodes": [] }, "minActivationInterval": 0, - "maxActivationInterval": 0 + "maxActivationInterval": 0, + "description": "EZ42 Gunsight Target Distance Control (Throttle Twist Grip) ) - CW/Increase" } } ], @@ -851,7 +865,8 @@ "modifierCodes": [] }, "minActivationInterval": 0, - "maxActivationInterval": 0 + "maxActivationInterval": 0, + "description": "EZ42 Gunsight Target Wingspan Knob - CCW/Decrease" } } ], @@ -868,7 +883,8 @@ "modifierCodes": [] }, "minActivationInterval": 0, - "maxActivationInterval": 0 + "maxActivationInterval": 0, + "description": "EZ42 Gunsight Target Distance Control (Throttle Twist Grip) ) - CCW/Decrease" } } ], @@ -885,7 +901,8 @@ "modifierCodes": [] }, "minActivationInterval": 0, - "maxActivationInterval": 0 + "maxActivationInterval": 0, + "description": "EZ42 Gunsight Target Wingspan Knob - CW/Increase" } } ] @@ -911,7 +928,8 @@ ] }, "minActivationInterval": 0, - "maxActivationInterval": 0 + "maxActivationInterval": 0, + "description": "Throttle to START" } } ], @@ -930,7 +948,8 @@ ] }, "minActivationInterval": 0, - "maxActivationInterval": 0 + "maxActivationInterval": 0, + "description": "Throttle to STOP" } } ] @@ -956,7 +975,8 @@ ] }, "minActivationInterval": 0, - "maxActivationInterval": 0 + "maxActivationInterval": 0, + "description": "Trim Elevator Down" } } ], @@ -975,7 +995,8 @@ ] }, "minActivationInterval": 0, - "maxActivationInterval": 0 + "maxActivationInterval": 0, + "description": "Trim Elevator Up" } } ] @@ -1007,7 +1028,8 @@ ] }, "minActivationInterval": 0, - "maxActivationInterval": 0 + "maxActivationInterval": 0, + "description": "Eject (3 times)" } } ], @@ -1024,7 +1046,8 @@ "modifierCodes": [] }, "minActivationInterval": 0, - "maxActivationInterval": 0 + "maxActivationInterval": 0, + "description": "F1 Cockpit view" } } ], @@ -1041,7 +1064,8 @@ "modifierCodes": [] }, "minActivationInterval": 0, - "maxActivationInterval": 0 + "maxActivationInterval": 0, + "description": "F10 Theater map view" } } ], @@ -1078,7 +1102,8 @@ "modifierCodes": [] }, "minActivationInterval": 0, - "maxActivationInterval": 0 + "maxActivationInterval": 0, + "description": "F2 Aircraft view" } } ] diff --git a/configs/DCS/FW-190D9/vJoy Device.diff.lua b/configs/DCS/FW-190D9/vJoy Device.diff.lua index 350f177..473610d 100644 --- a/configs/DCS/FW-190D9/vJoy Device.diff.lua +++ b/configs/DCS/FW-190D9/vJoy Device.diff.lua @@ -5,9 +5,12 @@ local diff = { [1] = { ["filter"] = { ["curvature"] = { - [1] = 0.1, + [1] = 0.25, }, ["deadzone"] = 0.12, + ["hardwareDetent"] = false, + ["hardwareDetentAB"] = 0, + ["hardwareDetentMax"] = 0, ["invert"] = false, ["saturationX"] = 1, ["saturationY"] = 1, @@ -23,9 +26,12 @@ local diff = { [1] = { ["filter"] = { ["curvature"] = { - [1] = 0.1, + [1] = 0.2, }, ["deadzone"] = 0.12, + ["hardwareDetent"] = false, + ["hardwareDetentAB"] = 0, + ["hardwareDetentMax"] = 0, ["invert"] = false, ["saturationX"] = 1, ["saturationY"] = 1, @@ -137,7 +143,7 @@ local diff = { ["d1731pnilu1731cdnilvd1vpnilvu0"] = { ["added"] = { [1] = { - ["key"] = "JOY_BTN2", + ["key"] = "JOY_BTN3", }, }, ["name"] = "COMM Push to talk (VOIP)", @@ -164,6 +170,11 @@ local diff = { }, }, ["d84pnilu85cdnilvdnilvpnilvunil"] = { + ["added"] = { + [1] = { + ["key"] = "JOY_BTN2", + }, + }, ["name"] = "MG131/151 fire", ["removed"] = { [1] = {