Skip to content

Commit 259c7aa

Browse files
committed
Merge branch 'joystick-input'
2 parents 9566e5b + 9b6e5a9 commit 259c7aa

File tree

16 files changed

+13590
-9841
lines changed

16 files changed

+13590
-9841
lines changed

Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Fallback.asset

Lines changed: 526 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF.asset

Lines changed: 10 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/_Project/Input/InputSystem.inputsettings.asset

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/_Project/Input/TallyInputSystem.cs

Lines changed: 48 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,9 @@ public @TallyInputSystem()
326326
{
327327
""name"": """",
328328
""id"": ""38da5860-c3a4-4452-b7a5-dc625a0c750c"",
329-
""path"": """",
329+
""path"": ""<Gamepad>/rightStick/x"",
330330
""interactions"": """",
331-
""processors"": """",
331+
""processors"": ""AxisDeadzone"",
332332
""groups"": """",
333333
""action"": ""HorizontalMovement"",
334334
""isComposite"": false,
@@ -337,9 +337,9 @@ public @TallyInputSystem()
337337
{
338338
""name"": """",
339339
""id"": ""0eedeee7-12a6-43cc-8b26-b98282ae10c7"",
340-
""path"": """",
340+
""path"": ""<Gamepad>/rightStick/y"",
341341
""interactions"": """",
342-
""processors"": """",
342+
""processors"": ""AxisDeadzone"",
343343
""groups"": """",
344344
""action"": ""VerticalMovement"",
345345
""isComposite"": false,
@@ -356,6 +356,17 @@ public @TallyInputSystem()
356356
""isComposite"": false,
357357
""isPartOfComposite"": false
358358
},
359+
{
360+
""name"": """",
361+
""id"": ""3e8286f7-c946-4227-ba9a-2eeb14c70dd1"",
362+
""path"": ""<Gamepad>/leftStick/left"",
363+
""interactions"": ""Press"",
364+
""processors"": ""AxisDeadzone(min=0.9)"",
365+
""groups"": """",
366+
""action"": ""SelectLeft"",
367+
""isComposite"": false,
368+
""isPartOfComposite"": false
369+
},
359370
{
360371
""name"": """",
361372
""id"": ""8243ac7f-1b18-40ac-ad62-7c65a80554c0"",
@@ -367,6 +378,17 @@ public @TallyInputSystem()
367378
""isComposite"": false,
368379
""isPartOfComposite"": false
369380
},
381+
{
382+
""name"": """",
383+
""id"": ""bd171bd5-503f-41eb-9ddc-1eac11ab4a4e"",
384+
""path"": ""<Gamepad>/leftStick/right"",
385+
""interactions"": ""Press"",
386+
""processors"": ""AxisDeadzone(min=0.9)"",
387+
""groups"": """",
388+
""action"": ""SelectRight"",
389+
""isComposite"": false,
390+
""isPartOfComposite"": false
391+
},
370392
{
371393
""name"": """",
372394
""id"": ""ffa8e996-cbf6-4c29-8047-ab5ea597c2fc"",
@@ -378,6 +400,17 @@ public @TallyInputSystem()
378400
""isComposite"": false,
379401
""isPartOfComposite"": false
380402
},
403+
{
404+
""name"": """",
405+
""id"": ""c6abec59-4081-475c-bfe0-fd45bdb4dded"",
406+
""path"": ""<Gamepad>/leftStick/up"",
407+
""interactions"": ""Press"",
408+
""processors"": ""AxisDeadzone(min=0.9)"",
409+
""groups"": """",
410+
""action"": ""ZoomIn"",
411+
""isComposite"": false,
412+
""isPartOfComposite"": false
413+
},
381414
{
382415
""name"": """",
383416
""id"": ""53133cea-56df-4dfd-bead-1725b0d50780"",
@@ -388,6 +421,17 @@ public @TallyInputSystem()
388421
""action"": ""ZoomOut"",
389422
""isComposite"": false,
390423
""isPartOfComposite"": false
424+
},
425+
{
426+
""name"": """",
427+
""id"": ""1f09a615-7bc7-45bb-9fc9-14e6e4332c00"",
428+
""path"": ""<Gamepad>/leftStick/down"",
429+
""interactions"": ""Press"",
430+
""processors"": ""AxisDeadzone(min=0.9)"",
431+
""groups"": """",
432+
""action"": ""ZoomOut"",
433+
""isComposite"": false,
434+
""isPartOfComposite"": false
391435
}
392436
]
393437
}

Assets/_Project/Input/TallyInputSystem.inputactions

Lines changed: 48 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,9 @@
313313
{
314314
"name": "",
315315
"id": "38da5860-c3a4-4452-b7a5-dc625a0c750c",
316-
"path": "",
316+
"path": "<Gamepad>/rightStick/x",
317317
"interactions": "",
318-
"processors": "",
318+
"processors": "AxisDeadzone",
319319
"groups": "",
320320
"action": "HorizontalMovement",
321321
"isComposite": false,
@@ -324,9 +324,9 @@
324324
{
325325
"name": "",
326326
"id": "0eedeee7-12a6-43cc-8b26-b98282ae10c7",
327-
"path": "",
327+
"path": "<Gamepad>/rightStick/y",
328328
"interactions": "",
329-
"processors": "",
329+
"processors": "AxisDeadzone",
330330
"groups": "",
331331
"action": "VerticalMovement",
332332
"isComposite": false,
@@ -343,6 +343,17 @@
343343
"isComposite": false,
344344
"isPartOfComposite": false
345345
},
346+
{
347+
"name": "",
348+
"id": "3e8286f7-c946-4227-ba9a-2eeb14c70dd1",
349+
"path": "<Gamepad>/leftStick/left",
350+
"interactions": "Press",
351+
"processors": "AxisDeadzone(min=0.9)",
352+
"groups": "",
353+
"action": "SelectLeft",
354+
"isComposite": false,
355+
"isPartOfComposite": false
356+
},
346357
{
347358
"name": "",
348359
"id": "8243ac7f-1b18-40ac-ad62-7c65a80554c0",
@@ -354,6 +365,17 @@
354365
"isComposite": false,
355366
"isPartOfComposite": false
356367
},
368+
{
369+
"name": "",
370+
"id": "bd171bd5-503f-41eb-9ddc-1eac11ab4a4e",
371+
"path": "<Gamepad>/leftStick/right",
372+
"interactions": "Press",
373+
"processors": "AxisDeadzone(min=0.9)",
374+
"groups": "",
375+
"action": "SelectRight",
376+
"isComposite": false,
377+
"isPartOfComposite": false
378+
},
357379
{
358380
"name": "",
359381
"id": "ffa8e996-cbf6-4c29-8047-ab5ea597c2fc",
@@ -365,6 +387,17 @@
365387
"isComposite": false,
366388
"isPartOfComposite": false
367389
},
390+
{
391+
"name": "",
392+
"id": "c6abec59-4081-475c-bfe0-fd45bdb4dded",
393+
"path": "<Gamepad>/leftStick/up",
394+
"interactions": "Press",
395+
"processors": "AxisDeadzone(min=0.9)",
396+
"groups": "",
397+
"action": "ZoomIn",
398+
"isComposite": false,
399+
"isPartOfComposite": false
400+
},
368401
{
369402
"name": "",
370403
"id": "53133cea-56df-4dfd-bead-1725b0d50780",
@@ -375,6 +408,17 @@
375408
"action": "ZoomOut",
376409
"isComposite": false,
377410
"isPartOfComposite": false
411+
},
412+
{
413+
"name": "",
414+
"id": "1f09a615-7bc7-45bb-9fc9-14e6e4332c00",
415+
"path": "<Gamepad>/leftStick/down",
416+
"interactions": "Press",
417+
"processors": "AxisDeadzone(min=0.9)",
418+
"groups": "",
419+
"action": "ZoomOut",
420+
"isComposite": false,
421+
"isPartOfComposite": false
378422
}
379423
]
380424
}

0 commit comments

Comments
 (0)