// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Microsoft.MixedReality.Toolkit.Input
{
///
/// Interface to receive input action events.
///
public interface IMixedRealityInputActionHandler : IMixedRealityBaseInputHandler
{
///
/// Received on action start, e.g when a button is pressed or a gesture starts.
///
/// Input event that triggered the action
void OnActionStarted(BaseInputEventData eventData);
///
/// Received on action end, e.g when a button is released or a gesture completed.
///
/// Input event that triggered the action
void OnActionEnded(BaseInputEventData eventData);
}
}