Skip to content

Commit

Permalink
IL-2 1946 profile: added additional bindings and use dead-zones and a…
Browse files Browse the repository at this point in the history
…xis shaping of ControllerBuddy
  • Loading branch information
bwRavencl committed Feb 4, 2024
1 parent 54943a2 commit 59bef69
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 50 deletions.
91 changes: 59 additions & 32 deletions IL-2_1946.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
{
"type": "de.bwravencl.controllerbuddy.input.action.AxisToAxisAction",
"data": {
"deadZone": 0.0,
"exponent": 1.0,
"deadZone": 0.25,
"exponent": 2.0,
"initialValue": 0.0,
"virtualAxis": "RZ",
"invert": false,
Expand All @@ -104,8 +104,8 @@
{
"type": "de.bwravencl.controllerbuddy.input.action.AxisToAxisAction",
"data": {
"deadZone": 0.0,
"exponent": 1.0,
"deadZone": 0.1,
"exponent": 1.5,
"initialValue": 0.0,
"virtualAxis": "X",
"invert": false,
Expand All @@ -117,8 +117,8 @@
{
"type": "de.bwravencl.controllerbuddy.input.action.AxisToAxisAction",
"data": {
"deadZone": 0.0,
"exponent": 1.0,
"deadZone": 0.1,
"exponent": 1.5,
"initialValue": 0.0,
"virtualAxis": "Y",
"invert": false,
Expand Down Expand Up @@ -409,18 +409,12 @@
],
"1": [
{
"type": "de.bwravencl.controllerbuddy.input.action.ButtonToKeyAction",
"type": "de.bwravencl.controllerbuddy.input.action.ButtonToButtonAction",
"data": {
"activation": "REPEAT",
"longPress": false,
"keystroke": {
"keyCodes": [
"B"
],
"modifierCodes": []
},
"buttonId": 7,
"minActivationInterval": 0,
"description": "Wheel Brakes"
"description": "Lock Tail Wheel"
}
}
],
Expand All @@ -435,17 +429,6 @@
}
}
],
"6": [
{
"type": "de.bwravencl.controllerbuddy.input.action.ButtonToButtonAction",
"data": {
"longPress": false,
"buttonId": 7,
"minActivationInterval": 0,
"description": "Lock Tail Wheel"
}
}
],
"7": [
{
"type": "de.bwravencl.controllerbuddy.input.action.ButtonToButtonAction",
Expand Down Expand Up @@ -482,6 +465,28 @@
"description": "Toggle Wing Fold"
}
}
],
"12": [
{
"type": "de.bwravencl.controllerbuddy.input.action.ButtonToButtonAction",
"data": {
"longPress": false,
"buttonId": 19,
"minActivationInterval": 0,
"description": "Lower Gear manually"
}
}
],
"14": [
{
"type": "de.bwravencl.controllerbuddy.input.action.ButtonToButtonAction",
"data": {
"longPress": false,
"buttonId": 18,
"minActivationInterval": 0,
"description": "Rise Gear manually"
}
}
]
}
},
Expand Down Expand Up @@ -750,7 +755,7 @@
},
{
"uuid": "ca236e7e-a577-4159-9b4d-14be96a0e21a",
"description": "Prop / WEP",
"description": "Prop / WEP / Supercharger",
"axisToActionsMap": {
"1": [
{
Expand Down Expand Up @@ -804,12 +809,34 @@
"description": "Boost (WEP) On/Off"
}
}
],
"12": [
{
"type": "de.bwravencl.controllerbuddy.input.action.ButtonToButtonAction",
"data": {
"longPress": false,
"buttonId": 21,
"minActivationInterval": 0,
"description": "Supercharger Next Stage"
}
}
],
"14": [
{
"type": "de.bwravencl.controllerbuddy.input.action.ButtonToButtonAction",
"data": {
"longPress": false,
"buttonId": 20,
"minActivationInterval": 0,
"description": "Supercharger Prev. Stage"
}
}
]
}
},
{
"uuid": "5f9a7aee-0b35-4cfa-985b-7ae55ce208c6",
"description": "Rockets / Bombs / Droptanks",
"description": "Rockets / Bombs / Jettison",
"axisToActionsMap": {
"4": [
{
Expand Down Expand Up @@ -1156,17 +1183,17 @@
}
],
"virtualAxisToOverlayAxisMap": {
"S0": {
"color": -16776961,
"inverted": false
},
"S1": {
"color": -65536,
"inverted": false
},
"Z": {
"color": -16777216,
"inverted": false
},
"S0": {
"color": -16776961,
"inverted": false
}
}
}
6 changes: 3 additions & 3 deletions configs/IL-2_1946/conf.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ RZ=0 10 20 30 40 50 60 70 80 90 100 0
FF=0
U=0 10 20 30 40 50 60 70 80 90 100 0
V=0 10 20 30 40 50 60 70 80 90 100 0
1X=3 10 20 30 40 50 60 70 80 90 100 0 0
1Y=3 10 20 30 40 50 60 70 80 90 100 0 0
1X=0 100 100 100 100 100 100 100 100 100 100 0 0
1Y=0 100 100 100 100 100 100 100 100 100 100 0 0
1Z=0 100 100 100 100 100 100 100 100 100 100 0 0
1RX=0 100 100 100 100 100 100 100 100 100 100 0 0
1RY=0 100 100 100 100 100 100 100 100 100 100 0 0
1RZ=6 10 20 30 40 50 60 70 80 90 100 0 0
1RZ=0 100 100 100 100 100 100 100 100 100 100 0 0
1U=0 100 100 100 100 100 100 100 100 100 100 0 0
1V=0 100 100 100 100 100 100 100 100 100 100 0 0
1X1=0 100 100 100 100 100 100 100 100 100 100 0 0
Expand Down
34 changes: 19 additions & 15 deletions configs/IL-2_1946/settings.ini
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
[HotKey pilot]
Joystick19 JoystickDevice0=AIRCRAFT_GEAR_DOWN_MANUAL
Z=RudderLeft
Joystick4 JoystickDevice0=AIRCRAFT_TOGGLE_AIRBRAKE
X=RudderRight
W=Boost
V=AIRCRAFT_FLAPS_NOTCH_DOWN
Shift Z=AIRCRAFT_TRIM_R_0
Shift X=AIRCRAFT_TRIM_R_0
Joystick20 JoystickDevice0=CompressorMinus
R=Radiator
Shift X=AIRCRAFT_TRIM_R_0
N=AIRCRAFT_STABILIZER
Joystick5 JoystickDevice0=AIRCRAFT_CARRIERHOOK
I=AIRCRAFT_TOGGLE_ENGINE
G=Gear
Ctrl Z=AIRCRAFT_TRIM_R_MINUS
G=Gear
Joystick21 JoystickDevice0=CompressorPlus
F=AIRCRAFT_FLAPS_NOTCH_UP
Ctrl X=AIRCRAFT_TRIM_R_PLUS
B=Brake
Expand All @@ -25,38 +28,39 @@ Equals=AIRCRAFT_POWER_PLUS_5
5=Power50
4=Power40
3=Power30
Joystick7 JoystickDevice0=AIRCRAFT_TAILWHEELLOCK
2=Power20
Joystick7 JoystickDevice0=AIRCRAFT_TAILWHEELLOCK
1=Power0
0=Power100
Slash=AIRCRAFT_RUDDER_CENTRE
Shift 4=Step90
Period=AIRCRAFT_RUDDER_RIGHT_1
Shift 4=Step90
Shift 3=Step60
Shift 2=Step30
Comma=AIRCRAFT_RUDDER_LEFT_1
Shift 2=Step30
Shift 1=Step0
Shift 0=StepAuto
Down=ElevatorDown
Joystick0 JoystickDevice0=Weapon0
Down=ElevatorDown
Right=AileronRight
Up=ElevatorUp
Left=AileronLeft
Joystick8 JoystickDevice0=WINGFOLD
Space=Weapon2
Left=AileronLeft
Shift Up=AIRCRAFT_TRIM_V_0
Space=Weapon2
Shift Left=AIRCRAFT_TRIM_H_0
Joystick1 JoystickDevice0=Weapon1
Joystick9 JoystickDevice0=COCKPITDOOR
Ctrl Down=AIRCRAFT_TRIM_V_PLUS
Ctrl Right=AIRCRAFT_TRIM_H_PLUS
Ctrl Up=AIRCRAFT_TRIM_V_MINUS
Ctrl Left=AIRCRAFT_TRIM_H_MINUS
Underscore=AIRCRAFT_POWER_MINUS_5
Ctrl Left=AIRCRAFT_TRIM_H_MINUS
Joystick2 JoystickDevice0=Weapon2
Enter=Weapon0
Backspace=Weapon1
Joystick18 JoystickDevice0=AIRCRAFT_GEAR_UP_MANUAL
NumPad-=AIRCRAFT_POWER_MINUS_5
Backspace=Weapon1
NumPad+=AIRCRAFT_POWER_PLUS_5
Joystick3 JoystickDevice0=Weapon3
Alt Space=Weapon3
Expand All @@ -69,8 +73,8 @@ Ctrl F2=NextViewEnemy
Ctrl F1=CockpitShow
Y=PadlockViewPrev
Alt F7=ViewEnemyDirectGround
Alt F6=ViewEnemyDirectAir
U=PadlockViewNext
Alt F6=ViewEnemyDirectAir
C=changeCockpit
End=fov70
PageDown=fov90
Expand All @@ -81,10 +85,10 @@ F6=ViewEnemyAir
F5=PadlockViewGround
F4=PadlockView
F3=OutsideViewFly
F2=OutsideView
Shift F8=NextViewFollow
F1=CockpitView
F2=OutsideView
Shift F7=ViewFriendGround
F1=CockpitView
Shift F6=ViewFriendAir
Shift F5=PadlockViewFriendGround
Shift F4=PadlockViewFriend
Expand All @@ -104,8 +108,8 @@ Pov315 JoystickPov0=Snap_m1_0
F9=SnapPanSwitch
Pov0 JoystickPov0=Snap_0_2
NumPad-9=Snap_1_0
Pov45 JoystickPov0=Snap_1_0
NumPad-8=Snap_0_0
Pov45 JoystickPov0=Snap_1_0
NumPad-7=Snap_m1_0
NumPad-6=Snap_2_0
NumPad-5=Snap_0_2
Expand All @@ -122,8 +126,8 @@ Pov270 JoystickPov0=PanLeft2
Pov315 JoystickPov0=PanLeft
Pov0 JoystickPov0=PanUp
NumPad-9=PanRight
Pov45 JoystickPov0=PanRight
NumPad-8=PanUp
Pov45 JoystickPov0=PanRight
NumPad-7=PanLeft
NumPad-6=PanRight2
NumPad-5=PanReset
Expand Down

0 comments on commit 59bef69

Please sign in to comment.