Skip to content

Commit 5c0eb4d

Browse files
author
Stephen Hodgson
committed
updated Mapping entry serialization
1 parent 2e6495e commit 5c0eb4d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Assets/HoloToolkit-Examples/GamePad/Scenes/XboxControllerExample.unity

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -744,3 +744,5 @@ MonoBehaviour:
744744
Value:
745745
- Type: 18
746746
Value:
747+
- Type: 19
748+
Value:

Assets/HoloToolkit/Input/Scripts/InputSources/XboxControllerInputSource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class XboxControllerInputSource : GamePadInputSource
1818
[Serializable]
1919
private class MappingEntry
2020
{
21-
public XboxControllerMappingTypes Type = 0;
21+
public XboxControllerMappingTypes Type = XboxControllerMappingTypes.None;
2222
public string Value = string.Empty;
2323
}
2424

0 commit comments

Comments
 (0)