Skip to content

Commit a82c90f

Browse files
author
Rene Damm
authored
FIX: Incorrect tap binding for touchscreen in DefaultInputActions (#905).
1 parent 26bdc29 commit a82c90f

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Packages/com.unity.inputsystem/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ however, it has to be formatted properly to pass verification tests.
2323
- Fixed `anyKey` not appearing in control picker for `Keyboard`.
2424
- The text on the "Listen" button is no longer clipped off on 2019.3.
2525
- Controls bound to actions through composites no longer show up as duplicates in the input debugger.
26+
- Fixed "Create Actions..." on `PlayerInput` creating an asset with an incorrect binding for taps on Touchscreens. \
27+
__NOTE: If you have already created an .inputactions asset with this mechanism, update "tap [Touchscreen]" to "Primary Touch/Tap" to fix the problem manually.__
2628
- Fixed `Invoke CSharp Events` when selected in `PlayerInput` not triggering `PlayerInput.onActionTriggered`.
2729

2830
### Changed

Packages/com.unity.inputsystem/InputSystem/Plugins/PlayerInput/DefaultInputActions.inputactions

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
{
200200
"name": "",
201201
"id": "886e731e-7071-4ae4-95c0-e61739dad6fd",
202-
"path": "<Touchscreen>/tap",
202+
"path": "<Touchscreen>/primaryTouch/tap",
203203
"interactions": "",
204204
"processors": "",
205205
"groups": ";Touch",
@@ -584,7 +584,6 @@
584584
"controlSchemes": [
585585
{
586586
"name": "Keyboard&Mouse",
587-
"basedOn": "",
588587
"bindingGroup": "Keyboard&Mouse",
589588
"devices": [
590589
{
@@ -601,7 +600,6 @@
601600
},
602601
{
603602
"name": "Gamepad",
604-
"basedOn": "",
605603
"bindingGroup": "Gamepad",
606604
"devices": [
607605
{
@@ -613,7 +611,6 @@
613611
},
614612
{
615613
"name": "Touch",
616-
"basedOn": "",
617614
"bindingGroup": "Touch",
618615
"devices": [
619616
{
@@ -625,7 +622,6 @@
625622
},
626623
{
627624
"name": "Joystick",
628-
"basedOn": "",
629625
"bindingGroup": "Joystick",
630626
"devices": [
631627
{

0 commit comments

Comments
 (0)