Warcorrespondents/Assets/InputAssets/Player.inputactions
Roman f9ab978fc6 1.完成移动功能,手柄摇杆左右控制左右,键盘AD控左右
2.完成跑动功能,手柄RB控制跑动,键盘Shift控制跑动
3.完成交互功能,手柄X与物体交互,键盘F与物体交互
4.完成打码功能,手柄RT短按打.,长按打-,键盘忘了适配
2021-07-01 23:35:25 +08:00

195 lines
7.1 KiB
Plaintext

{
"name": "Player",
"maps": [
{
"name": "PlayerNormal",
"id": "fed7b745-1bc5-4e0b-a0e3-12ba77260d19",
"actions": [
{
"name": "MoveHorizons",
"type": "Value",
"id": "5a93f020-27b4-4cb6-975f-af9ed1ef4ec3",
"expectedControlType": "Axis",
"processors": "",
"interactions": ""
},
{
"name": "Run",
"type": "Button",
"id": "5c554403-34b9-4a85-a8f5-ac58363cad75",
"expectedControlType": "Button",
"processors": "",
"interactions": "Press(behavior=2)"
},
{
"name": "Interaction",
"type": "Button",
"id": "a3099043-3ac2-4656-8595-f0c577842621",
"expectedControlType": "Button",
"processors": "",
"interactions": "Press(behavior=2)"
},
{
"name": "Coding",
"type": "Button",
"id": "f7af9390-5dad-4c80-a4a7-83d8314f8e88",
"expectedControlType": "Button",
"processors": "",
"interactions": "Press(behavior=2)"
}
],
"bindings": [
{
"name": "Keyboard",
"id": "1fbfd71c-7027-405d-a1ed-1fc210b6164f",
"path": "1DAxis",
"interactions": "",
"processors": "",
"groups": "",
"action": "MoveHorizons",
"isComposite": true,
"isPartOfComposite": false
},
{
"name": "negative",
"id": "68266135-01e4-4afc-96c0-ea13a80f3480",
"path": "<Keyboard>/a",
"interactions": "",
"processors": "",
"groups": "Player",
"action": "MoveHorizons",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "positive",
"id": "239ae58a-4ed8-4a1c-a712-875cc1a5a00b",
"path": "<Keyboard>/d",
"interactions": "",
"processors": "",
"groups": "Player",
"action": "MoveHorizons",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "GamePad",
"id": "fe14fc96-6976-4535-9110-34ee485476e9",
"path": "1DAxis",
"interactions": "",
"processors": "",
"groups": "",
"action": "MoveHorizons",
"isComposite": true,
"isPartOfComposite": false
},
{
"name": "negative",
"id": "28b72bc6-4f68-4a0a-b630-d71e22d0d6ec",
"path": "<Gamepad>/leftStick/left",
"interactions": "",
"processors": "",
"groups": "Player",
"action": "MoveHorizons",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "positive",
"id": "81388851-93e1-42a6-88f8-2eccb63c984d",
"path": "<Gamepad>/leftStick/right",
"interactions": "",
"processors": "",
"groups": "Player",
"action": "MoveHorizons",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "",
"id": "b0789a3f-5494-4bae-96bb-36eab3a52419",
"path": "<Gamepad>/rightShoulder",
"interactions": "",
"processors": "",
"groups": "Player",
"action": "Run",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "975884c6-576e-4b0b-adb7-f0883ff247e9",
"path": "<Keyboard>/shift",
"interactions": "",
"processors": "",
"groups": "Player",
"action": "Run",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "c35dfc0f-020b-4d7f-b2ca-5b54e24145f5",
"path": "<XInputController>/buttonWest",
"interactions": "",
"processors": "",
"groups": "Player",
"action": "Interaction",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "31e28f16-f6f5-4fc1-b9b6-7b1d27b1b051",
"path": "<Keyboard>/f",
"interactions": "",
"processors": "",
"groups": "Player",
"action": "Interaction",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "f934f611-8c36-46c6-ac79-b5cb10f172f8",
"path": "<Gamepad>/rightTrigger",
"interactions": "",
"processors": "",
"groups": "Player",
"action": "Coding",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "eb88999b-e1c9-4d1e-9b74-683dc913e3a1",
"path": "<Keyboard>/space",
"interactions": "",
"processors": "",
"groups": "Player",
"action": "Coding",
"isComposite": false,
"isPartOfComposite": false
}
]
}
],
"controlSchemes": [
{
"name": "Player",
"bindingGroup": "Player",
"devices": [
{
"devicePath": "<Gamepad>",
"isOptional": true,
"isOR": false
},
{
"devicePath": "<Keyboard>",
"isOptional": true,
"isOR": false
}
]
}
]
}