Skip to content

Commit

Permalink
IL-2 1946 profile: added a Gunsight mode
Browse files Browse the repository at this point in the history
  • Loading branch information
bwRavencl committed Feb 5, 2024
1 parent 59bef69 commit 2fa15db
Showing 1 changed file with 84 additions and 45 deletions.
129 changes: 84 additions & 45 deletions IL-2_1946.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@
"modeUuid": "5f9a7aee-0b35-4cfa-985b-7ae55ce208c6"
}
],
"7": [
{
"toggle": true,
"longPress": false,
"modeUuid": "31bdeed6-9ed2-4e45-ba36-aa71e826cae7"
}
],
"9": [
{
"toggle": true,
Expand Down Expand Up @@ -155,28 +162,6 @@
},
"buttonToActionsMap": {
"2": [
{
"type": "de.bwravencl.controllerbuddy.input.action.ButtonToAxisResetAction",
"data": {
"virtualAxis": "RX",
"resetValue": 0.0,
"fluid": false,
"longPress": false,
"activation": "SINGLE_IMMEDIATELY",
"description": "Center View"
}
},
{
"type": "de.bwravencl.controllerbuddy.input.action.ButtonToAxisResetAction",
"data": {
"virtualAxis": "RY",
"resetValue": 0.0,
"fluid": false,
"longPress": false,
"activation": "SINGLE_IMMEDIATELY",
"description": "Center View"
}
},
{
"type": "de.bwravencl.controllerbuddy.input.action.ButtonToKeyAction",
"data": {
Expand Down Expand Up @@ -225,12 +210,44 @@
"longPress": false,
"keystroke": {
"keyCodes": [
"A"
"F1"
],
"modifierCodes": [
"L Shift"
]
},
"minActivationInterval": 0,
"description": "Toggle Gunsight"
}
},
{
"type": "de.bwravencl.controllerbuddy.input.action.ButtonToKeyAction",
"data": {
"activation": "SINGLE_IMMEDIATELY",
"longPress": false,
"keystroke": {
"keyCodes": [
"Num5"
],
"modifierCodes": []
},
"minActivationInterval": 0,
"description": "Toggle Autopilot"
"description": "Center View"
}
},
{
"type": "de.bwravencl.controllerbuddy.input.action.ButtonToKeyAction",
"data": {
"activation": "SINGLE_IMMEDIATELY",
"longPress": false,
"keystroke": {
"keyCodes": [
"PgDn"
],
"modifierCodes": []
},
"minActivationInterval": 0,
"description": "Wide View"
}
}
],
Expand Down Expand Up @@ -490,6 +507,45 @@
]
}
},
{
"uuid": "31bdeed6-9ed2-4e45-ba36-aa71e826cae7",
"description": "Gunsight",
"axisToActionsMap": {},
"buttonToActionsMap": {
"2": [
{
"type": "de.bwravencl.controllerbuddy.input.action.ButtonToKeyAction",
"data": {
"activation": "SINGLE_IMMEDIATELY",
"longPress": false,
"keystroke": {
"keyCodes": [
"Num5"
],
"modifierCodes": []
},
"minActivationInterval": 0,
"description": "Center View"
}
},
{
"type": "de.bwravencl.controllerbuddy.input.action.ButtonToKeyAction",
"data": {
"activation": "SINGLE_IMMEDIATELY",
"longPress": false,
"keystroke": {
"keyCodes": [
"PgDn"
],
"modifierCodes": []
},
"minActivationInterval": 0,
"description": "Wide View"
}
}
]
}
},
{
"uuid": "242f7006-11a9-4303-8858-d9e2d065c3c8",
"description": "Look",
Expand Down Expand Up @@ -1099,23 +1155,6 @@
"type": "de.bwravencl.controllerbuddy.input.action.ButtonToKeyAction",
"data": {
"activation": "SINGLE_IMMEDIATELY",
"longPress": true,
"keystroke": {
"keyCodes": [
"F1"
],
"modifierCodes": [
"L Shift"
]
},
"minActivationInterval": 0,
"description": "Toggle Gunsight"
}
},
{
"type": "de.bwravencl.controllerbuddy.input.action.ButtonToKeyAction",
"data": {
"activation": "SINGLE_ON_RELEASE",
"longPress": false,
"keystroke": {
"keyCodes": [
Expand Down Expand Up @@ -1183,17 +1222,17 @@
}
],
"virtualAxisToOverlayAxisMap": {
"Z": {
"color": -16777216,
"inverted": false
},
"S0": {
"color": -16776961,
"inverted": false
},
"S1": {
"color": -65536,
"inverted": false
},
"Z": {
"color": -16777216,
"inverted": false
}
}
}

0 comments on commit 2fa15db

Please sign in to comment.