// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using UnityEngine.EventSystems;
namespace Microsoft.MixedReality.Toolkit.Input
{
///
/// Interface to implement for simple generic input.
///
public interface IMixedRealityInputHandler : IMixedRealityBaseInputHandler
{
///
/// Input Up updates from Interactions, Keys, or any other simple input.
///
void OnInputUp(InputEventData eventData);
///
/// Input Down updates from Interactions, Keys, or any other simple input.
///
void OnInputDown(InputEventData eventData);
}
///
/// Interface to implement for more complex generic input.
///
/// The type of input to listen for.
public interface IMixedRealityInputHandler : IEventSystemHandler
{
///
/// Raised input event updates from the type of input specified in the interface handler implementation.
///
///
/// The is the current input data.
///
void OnInputChanged(InputEventData eventData);
}
}