From 9c50719807ecefbea22b39de22c51a0161a075a2 Mon Sep 17 00:00:00 2001 From: Dabble Date: Wed, 3 Nov 2021 15:39:32 +0100 Subject: [PATCH] Fixed keyboard keys mapped to physical location They're now mapped to the character typed - no matter the physical location. --- Assets/Prefabs/PlayerControls.inputactions | 6 +++--- Assets/Scripts/Player/PlayerControls.cs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Assets/Prefabs/PlayerControls.inputactions b/Assets/Prefabs/PlayerControls.inputactions index ff8f3a28..140906af 100644 --- a/Assets/Prefabs/PlayerControls.inputactions +++ b/Assets/Prefabs/PlayerControls.inputactions @@ -201,7 +201,7 @@ { "name": "", "id": "1fa37b50-7164-456f-9b73-1a444e0b65b8", - "path": "/e", + "path": "/#(E)", "interactions": "", "processors": "", "groups": "Keyboard", @@ -223,7 +223,7 @@ { "name": "", "id": "d3a671d1-a478-4c46-87e1-3ba1c1720988", - "path": "/r", + "path": "/#(R)", "interactions": "", "processors": "", "groups": "Keyboard", @@ -256,7 +256,7 @@ { "name": "", "id": "3d61bf77-1cda-452c-927e-df6ea1888261", - "path": "/n", + "path": "/#(N)", "interactions": "", "processors": "", "groups": "Keyboard", diff --git a/Assets/Scripts/Player/PlayerControls.cs b/Assets/Scripts/Player/PlayerControls.cs index c6d08a7f..7c35f0b8 100644 --- a/Assets/Scripts/Player/PlayerControls.cs +++ b/Assets/Scripts/Player/PlayerControls.cs @@ -214,7 +214,7 @@ public @PlayerControls() { ""name"": """", ""id"": ""1fa37b50-7164-456f-9b73-1a444e0b65b8"", - ""path"": ""/e"", + ""path"": ""/#(E)"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard"", @@ -236,7 +236,7 @@ public @PlayerControls() { ""name"": """", ""id"": ""d3a671d1-a478-4c46-87e1-3ba1c1720988"", - ""path"": ""/r"", + ""path"": ""/#(R)"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard"", @@ -269,7 +269,7 @@ public @PlayerControls() { ""name"": """", ""id"": ""3d61bf77-1cda-452c-927e-df6ea1888261"", - ""path"": ""/n"", + ""path"": ""/#(N)"", ""interactions"": """", ""processors"": """", ""groups"": ""Keyboard"",