added controller support!

done through the input settings, using the "gamepad" layout -- it should work, but i do not have a controller and cannot test lol. if someone with a controller wants to test, it should work for everything except menu navigation, which you'll still need a mouse for
This commit is contained in:
Sam 2023-05-05 00:32:56 -07:00
parent 7d58fe1e7f
commit 9bd25a7d8e

View File

@ -162,6 +162,116 @@
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "Controller Joystick",
"id": "a65818cd-ecbd-4032-b536-9918f4310875",
"path": "2DVector",
"interactions": "",
"processors": "",
"groups": "",
"action": "Move",
"isComposite": true,
"isPartOfComposite": false
},
{
"name": "up",
"id": "336b41f5-3458-41ad-8d46-b6737faf5d48",
"path": "<Gamepad>/leftStick/up",
"interactions": "",
"processors": "",
"groups": "",
"action": "Move",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "down",
"id": "1df7dec0-3390-4bba-bb49-f58c3c9d804c",
"path": "<Gamepad>/leftStick/down",
"interactions": "",
"processors": "",
"groups": "",
"action": "Move",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "left",
"id": "5331f356-627c-4f50-b46d-64c9c3e904f2",
"path": "<Gamepad>/leftStick/left",
"interactions": "",
"processors": "",
"groups": "",
"action": "Move",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "right",
"id": "e2b228c4-9dea-4b35-9f3c-89d80f4403c1",
"path": "<Gamepad>/leftStick/right",
"interactions": "",
"processors": "",
"groups": "",
"action": "Move",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "Controller DPad",
"id": "251f5056-c0e2-4283-9fc4-1def2853c06e",
"path": "2DVector",
"interactions": "",
"processors": "",
"groups": "",
"action": "Move",
"isComposite": true,
"isPartOfComposite": false
},
{
"name": "up",
"id": "6502d829-b468-42dd-8b21-b446d1ee421e",
"path": "<Gamepad>/dpad/up",
"interactions": "",
"processors": "",
"groups": "",
"action": "Move",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "down",
"id": "c7f002c3-0fce-414d-818b-44774de8c8f9",
"path": "<Gamepad>/dpad/down",
"interactions": "",
"processors": "",
"groups": "",
"action": "Move",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "left",
"id": "80207e1d-3e64-4dcc-b275-d51b2272ec6f",
"path": "<Gamepad>/dpad/left",
"interactions": "",
"processors": "",
"groups": "",
"action": "Move",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "right",
"id": "f9194fa1-ab23-4f2e-b66e-9f34e7b93da9",
"path": "<Gamepad>/dpad/right",
"interactions": "",
"processors": "",
"groups": "",
"action": "Move",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "",
"id": "77fb86b2-c108-4901-9a80-e00c9317d4df",
@ -173,6 +283,17 @@
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "9a3278a2-fbcc-4c62-86cc-f6a7ba0a9789",
"path": "<Gamepad>/leftTrigger",
"interactions": "",
"processors": "",
"groups": "",
"action": "Grapple",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "f3aa2992-7914-440a-b109-bf84cfa770a3",
@ -184,6 +305,17 @@
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "e7016a0a-a5f7-4cae-9f61-e1c24389fcee",
"path": "<Gamepad>/buttonWest",
"interactions": "",
"processors": "",
"groups": "",
"action": "ThrowTambourine",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "ad2dbcc6-d98e-4d64-bce9-fb9f8741462e",
@ -206,10 +338,32 @@
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "87596c7d-413a-4c50-bdf0-af2b5ad2ad4a",
"path": "<Gamepad>/buttonSouth",
"interactions": "",
"processors": "",
"groups": "",
"action": "Jump",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "679f7163-1cdf-4ae4-b4f4-133d1b2514a6",
"path": "<Keyboard>/#(J)",
"path": "<Keyboard>/j",
"interactions": "",
"processors": "",
"groups": "",
"action": "ClarinetDive",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "6ae2408a-2d3e-4336-8617-77080f43392c",
"path": "<Gamepad>/buttonEast",
"interactions": "",
"processors": "",
"groups": "",
@ -263,6 +417,17 @@
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "46f7fb02-e125-4f89-b16d-cccd5f2b8ef8",
"path": "<Gamepad>/start",
"interactions": "",
"processors": "",
"groups": "",
"action": "Pause",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "504af2d0-cca5-428f-8009-de9fcff39bc7",
@ -274,6 +439,17 @@
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "7f957879-011b-418a-a958-ec1c268993ce",
"path": "<Gamepad>/buttonSouth",
"interactions": "",
"processors": "",
"groups": "",
"action": "AdvanceDialog",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "2044f2bd-2b93-4c90-a43f-a68f845ba04c",
@ -284,6 +460,17 @@
"action": "ToggleDebugMenu",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "f25ba7ac-3413-496c-9d08-b668e53fa368",
"path": "<Gamepad>/select",
"interactions": "",
"processors": "",
"groups": "",
"action": "ToggleDebugMenu",
"isComposite": false,
"isPartOfComposite": false
}
]
}