Skip to content

Commit

Permalink
add: setup required inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
integraldx committed Nov 8, 2024
1 parent e050c2e commit a51ccfb
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 49 deletions.
2 changes: 1 addition & 1 deletion Assets/InputSystem.inputsettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
m_SupportedDevices:
- Keyboard
- Mouse
- Pointer
- Gamepad
m_UpdateMode: 1
m_MaxEventBytesPerUpdate: 5242880
Expand Down
92 changes: 44 additions & 48 deletions Assets/SWPPT3/Alcheslime.inputactions
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Alcheslime",
"maps": [
{
"name": "Player",
"name": "In Game",
"id": "48673783-bbca-4e57-98fe-7b8fffc41fbe",
"actions": [
{
Expand All @@ -24,9 +24,27 @@
"initialStateCheck": true
},
{
"name": "Fire",
"name": "Jump",
"type": "Button",
"id": "4e7fa26e-771a-46f9-9e11-d4bb6808f41e",
"id": "890542ab-d732-46a6-9459-42c92a959790",
"expectedControlType": "Button",
"processors": "",
"interactions": "",
"initialStateCheck": false
},
{
"name": "StartTransform",
"type": "Button",
"id": "067addb2-5e97-4221-a4dc-46302a7eb8bf",
"expectedControlType": "Button",
"processors": "",
"interactions": "",
"initialStateCheck": false
},
{
"name": "StartRotation",
"type": "Button",
"id": "4b67a299-6874-4896-9f41-6505b57d7c6e",
"expectedControlType": "Button",
"processors": "",
"interactions": "",
Expand Down Expand Up @@ -144,28 +162,6 @@
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "",
"id": "1635d3fe-58b6-4ba9-a4e2-f4b964f6b5c8",
"path": "<XRController>/{Primary2DAxis}",
"interactions": "",
"processors": "",
"groups": "XR",
"action": "Move",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "3ea4d645-4504-4529-b061-ab81934c3752",
"path": "<Joystick>/stick",
"interactions": "",
"processors": "",
"groups": "Joystick",
"action": "Move",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "c1f7a91b-d0fd-4a62-997e-7fb9b69bf235",
Expand All @@ -190,67 +186,67 @@
},
{
"name": "",
"id": "3e5f5442-8668-4b27-a940-df99bad7e831",
"path": "<Joystick>/{Hatswitch}",
"id": "ff26f1bf-2199-4bfc-9b51-22abade8d85e",
"path": "<Keyboard>/space",
"interactions": "",
"processors": "",
"groups": "Joystick",
"action": "Look",
"groups": "Keyboard&Mouse",
"action": "Jump",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "143bb1cd-cc10-4eca-a2f0-a3664166fe91",
"path": "<Gamepad>/rightTrigger",
"id": "0df05452-1968-44fa-b457-3e4f93cb3711",
"path": "<Gamepad>/buttonSouth",
"interactions": "",
"processors": "",
"groups": ";Gamepad",
"action": "Fire",
"groups": "Gamepad",
"action": "Jump",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "05f6913d-c316-48b2-a6bb-e225f14c7960",
"id": "8eaaa143-5de0-4537-b9ff-29963008aeaf",
"path": "<Mouse>/leftButton",
"interactions": "",
"processors": "",
"groups": ";Keyboard&Mouse",
"action": "Fire",
"groups": "Keyboard&Mouse",
"action": "StartTransform",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "886e731e-7071-4ae4-95c0-e61739dad6fd",
"path": "<Touchscreen>/primaryTouch/tap",
"id": "26f79b76-16d8-46e0-8fce-402f584d2e42",
"path": "<Gamepad>/rightTrigger",
"interactions": "",
"processors": "",
"groups": ";Touch",
"action": "Fire",
"groups": "Gamepad",
"action": "StartTransform",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "ee3d0cd2-254e-47a7-a8cb-bc94d9658c54",
"path": "<Joystick>/trigger",
"id": "b88fe0da-7684-4db2-a133-2dcbc6ee31c0",
"path": "<Gamepad>/leftTrigger",
"interactions": "",
"processors": "",
"groups": "Joystick",
"action": "Fire",
"groups": "Gamepad",
"action": "StartRotation",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "8255d333-5683-4943-a58a-ccb207ff1dce",
"path": "<XRController>/{PrimaryAction}",
"id": "7c6c84f5-1db1-426f-a981-a314db56d44e",
"path": "<Mouse>/rightButton",
"interactions": "",
"processors": "",
"groups": "XR",
"action": "Fire",
"groups": "Keyboard&Mouse",
"action": "StartRotation",
"isComposite": false,
"isPartOfComposite": false
}
Expand Down

0 comments on commit a51ccfb

Please sign in to comment.