Files
AE86-3DS/Assets/Input/AE86-3DS_IA.inputactions
CatChow0 8ffb00a024 Minor - V0.3.0 - Ajoute frein classique et frein à main - V
Adds a traditional brake alongside the existing handbrake functionality.

This change allows for more controlled deceleration using a standard braking system and introduces a brake power parameter in the vehicle controller for further adjustment. The input manager is updated to accommodate a new brake input, and the vehicle controller uses this input to apply a progressive braking force, particularly at lower speeds.

Also corrects a typo in the braking logic.
2026-02-03 19:27:33 +01:00

161 lines
5.8 KiB
Plaintext

{
"version": 1,
"name": "AE86-3DS_IA",
"maps": [
{
"name": "CarControl",
"id": "46531f0e-0517-4745-995a-5b44093e4c88",
"actions": [
{
"name": "HandBrake",
"type": "Button",
"id": "a01bff64-3031-46c3-85bf-447c42881995",
"expectedControlType": "",
"processors": "",
"interactions": "",
"initialStateCheck": false
},
{
"name": "Steer",
"type": "Value",
"id": "44649bc5-dbc2-4250-86fd-e189355d08b5",
"expectedControlType": "Axis",
"processors": "",
"interactions": "",
"initialStateCheck": true
},
{
"name": "Accelerate",
"type": "Button",
"id": "312fddd5-51e0-47bd-bbbf-a168f544c860",
"expectedControlType": "",
"processors": "",
"interactions": "",
"initialStateCheck": true
},
{
"name": "Brake",
"type": "Button",
"id": "1017a834-ab02-4e41-9787-39fd6ca9c6ad",
"expectedControlType": "",
"processors": "",
"interactions": "",
"initialStateCheck": false
}
],
"bindings": [
{
"name": "",
"id": "4eafcf0f-07aa-4c66-b507-a18b2971fd23",
"path": "<Gamepad>/buttonSouth",
"interactions": "",
"processors": "",
"groups": "",
"action": "HandBrake",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "fbcc4063-2858-4ffc-8728-42fd254791b6",
"path": "<Keyboard>/space",
"interactions": "",
"processors": "",
"groups": "",
"action": "HandBrake",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "1D Axis",
"id": "64bb1688-cb87-4a93-8b4f-9e2382327df6",
"path": "1DAxis",
"interactions": "",
"processors": "",
"groups": "",
"action": "Steer",
"isComposite": true,
"isPartOfComposite": false
},
{
"name": "negative",
"id": "f8f91a83-42d2-4e40-9174-262318c8cba1",
"path": "<Keyboard>/a",
"interactions": "",
"processors": "",
"groups": "",
"action": "Steer",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "positive",
"id": "c4e5228c-8842-416c-ac2a-1157dd361691",
"path": "<Keyboard>/d",
"interactions": "",
"processors": "",
"groups": "",
"action": "Steer",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "",
"id": "875d1568-c7f0-4626-b624-87953ecaa577",
"path": "<Gamepad>/leftStick/x",
"interactions": "",
"processors": "",
"groups": "",
"action": "Steer",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "67a48496-01e9-4c49-8365-f8d3b8e39660",
"path": "<Gamepad>/rightTrigger",
"interactions": "",
"processors": "",
"groups": "",
"action": "Accelerate",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "961c3ac1-2be9-49b7-93c3-094b3c6e41f9",
"path": "<Keyboard>/w",
"interactions": "",
"processors": "",
"groups": "",
"action": "Accelerate",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "a7488085-5421-409b-bd61-cc6fda5e2dec",
"path": "<Gamepad>/leftTrigger",
"interactions": "",
"processors": "",
"groups": "",
"action": "Brake",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "1dffb4da-1be5-49ca-9344-288d594e6a94",
"path": "<Keyboard>/s",
"interactions": "",
"processors": "",
"groups": "",
"action": "Brake",
"isComposite": false,
"isPartOfComposite": false
}
]
}
],
"controlSchemes": []
}