[Player][Input] Switch to generic input consumption interface. Version package json file

This commit is contained in:
Michal Pikulski
2025-09-01 15:04:15 +02:00
parent 90782f0fb0
commit 1a5126a259
7 changed files with 743 additions and 52 deletions

View File

@@ -0,0 +1,55 @@
{
"version": 1,
"name": "PlayerTouchActions",
"maps": [
{
"name": "DefaultActionMap",
"id": "53d55b3c-f7c2-4706-a857-c615ecb16ff7",
"actions": [
{
"name": "TouchPosition",
"type": "Value",
"id": "f615672c-a395-4335-826c-d14ae764c4b5",
"expectedControlType": "Vector2",
"processors": "",
"interactions": "",
"initialStateCheck": true
},
{
"name": "TouchPress",
"type": "Button",
"id": "a77a5b0d-26e8-4b6c-b23b-828c50b3108f",
"expectedControlType": "",
"processors": "",
"interactions": "",
"initialStateCheck": false
}
],
"bindings": [
{
"name": "",
"id": "94ea85eb-4b37-460d-8b4d-518d80e63349",
"path": "<Touchscreen>/position",
"interactions": "",
"processors": "",
"groups": "",
"action": "TouchPosition",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "f3dcd77f-15e5-4621-af67-001e6b08e3e6",
"path": "<Touchscreen>/Press",
"interactions": "",
"processors": "",
"groups": "",
"action": "TouchPress",
"isComposite": false,
"isPartOfComposite": false
}
]
}
],
"controlSchemes": []
}