15 lines
649 B
C#
15 lines
649 B
C#
using System;
|
|
using UnityEngine.InputSystem;
|
|
|
|
namespace Code.Infrastructure.Input
|
|
{
|
|
public interface IInputService
|
|
{
|
|
void EnableMap(ActionMappings actionMap);
|
|
void DisableMap(ActionMappings actionMap);
|
|
void BindActionPerformed(int mapId, int actionId, Action<InputAction.CallbackContext> action);
|
|
void BindActionCancelled(int mapId, int actionId, Action<InputAction.CallbackContext> action);
|
|
void UnbindActionPerformed(int mapId, int actionId, Action<InputAction.CallbackContext> action);
|
|
void UnbindActionCancelled(int mapId, int actionId, Action<InputAction.CallbackContext> action);
|
|
}
|
|
} |