Skip to content

Commit d4b8e47

Browse files
author
Stephen Hodgson
committed
Renamed GesturesInputSource to InteractionInputSource
1 parent 2788032 commit d4b8e47

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace HoloToolkit.Unity.InputModule
1111
/// Input source for fake hands information, which gives finer details about current hand state and position
1212
/// than the standard GestureRecognizer.
1313
/// </summary>
14-
/// <remarks>This input source only triggers SourceUp and SourceDown for the hands. Everything else is handled by GesturesInputSource.</remarks>
14+
/// <remarks>This input source only triggers SourceUp and SourceDown for the hands. Everything else is handled by InteractionInputSource.</remarks>
1515
[RequireComponent(typeof(ManualHandControl))]
1616
public class EditorHandsInputSource : BaseInputSource
1717
{

Assets/HoloToolkit/Input/Scripts/InputSources/GesturesInputSource.cs renamed to Assets/HoloToolkit/Input/Scripts/InputSources/InteractionInputSource.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace HoloToolkit.Unity.InputModule
1313
/// Input source for gestures information from the WSA APIs, which gives access to various system-supported gestures.
1414
/// This is a wrapper on top of GestureRecognizer.
1515
/// </summary>
16-
public class GesturesInputSource : BaseInputSource
16+
public class InteractionInputSource : BaseInputSource
1717
{
1818
// This enumeration gives the manager two different ways to handle the recognizer. Both will
1919
// set up the recognizer. The first causes the recognizer to start
@@ -34,7 +34,7 @@ protected virtual void Start()
3434
{
3535
gestureRecognizer = new GestureRecognizer();
3636
gestureRecognizer.TappedEvent += OnTappedEvent;
37-
37+
3838
gestureRecognizer.HoldStartedEvent += OnHoldStartedEvent;
3939
gestureRecognizer.HoldCompletedEvent += OnHoldCompletedEvent;
4040
gestureRecognizer.HoldCanceledEvent += OnHoldCanceledEvent;
@@ -44,7 +44,7 @@ protected virtual void Start()
4444
gestureRecognizer.ManipulationCompletedEvent += OnManipulationCompletedEvent;
4545
gestureRecognizer.ManipulationCanceledEvent += OnManipulationCanceledEvent;
4646

47-
gestureRecognizer.SetRecognizableGestures(GestureSettings.Tap |
47+
gestureRecognizer.SetRecognizableGestures(GestureSettings.Tap |
4848
GestureSettings.ManipulationTranslate |
4949
GestureSettings.Hold);
5050

Assets/HoloToolkit/Input/Scripts/InputSources/GesturesInputSource.cs.meta renamed to Assets/HoloToolkit/Input/Scripts/InputSources/InteractionInputSource.cs.meta

File renamed without changes.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace HoloToolkit.Unity.InputModule
1818
/// </summary>
1919
/// <remarks>
2020
/// This input source only triggers SourceUp/SourceDown and SourceDetected/SourceLost.
21-
/// Everything else is handled by GesturesInputSource.
21+
/// Everything else is handled by InteractionInputSource.
2222
/// </remarks>
2323
public class RawInteractionInputSource : BaseInputSource
2424
{

0 commit comments

Comments
 (0)