Skip to content

Commit 8e8ab1e

Browse files
Merge pull request #1088 from StephenHodgson/MRTK-Dev-InputSync
Input Feature area sync
2 parents 8857f49 + 3b1f3ce commit 8e8ab1e

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Assets/HoloToolkit-Tests/Input/Scripts/HapticsTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class HapticsTest : MonoBehaviour, IInputHandler
1111
{
1212
void IInputHandler.OnInputDown(InputEventData eventData)
1313
{
14-
InteractionSourceInputSource inputSource = eventData.InputSource as InteractionSourceInputSource;
14+
InteractionInputSource inputSource = eventData.InputSource as InteractionInputSource;
1515
if (inputSource != null)
1616
{
1717
switch (eventData.PressType)
@@ -28,7 +28,7 @@ void IInputHandler.OnInputDown(InputEventData eventData)
2828

2929
void IInputHandler.OnInputUp(InputEventData eventData)
3030
{
31-
InteractionSourceInputSource inputSource = eventData.InputSource as InteractionSourceInputSource;
31+
InteractionInputSource inputSource = eventData.InputSource as InteractionInputSource;
3232
if (inputSource != null)
3333
{
3434
if (eventData.PressType == InteractionSourcePressInfo.Grasp)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace HoloToolkit.Unity.InputModule
1515
/// and positional information for the various inputs that Windows gestures supports.
1616
/// This is mostly a wrapper on top of GestureRecognizer and InteractionManager.
1717
/// </summary>
18-
public class InteractionSourceInputSource : BaseInputSource
18+
public class InteractionInputSource : BaseInputSource
1919
{
2020
// This enumeration gives the manager two different ways to handle the recognizer. Both will
2121
// set up the recognizer. The first causes the recognizer to start

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

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

0 commit comments

Comments
 (0)