internal InputReference(AInputEvent a_input, EInputTriggerType a_eventType) { trigger = a_eventType; input = a_input; }
internal void Register(AInputEvent a_input) { keys.Add(a_input.eventName, a_input); }
internal void RegisterOnEventKey(EInputEventKey a_key, AInputEvent.InputAction a_delegate) { RegisterOnEventKey(a_key.ToString(), a_delegate); }
internal void UnregisterOnEventKey(string a_keyName, AInputEvent.InputAction a_delegate) { if(keys.ContainsKey(a_keyName)) { keys[a_keyName].onActivation -= a_delegate; } }
/* Get the input event type. */ public static AInputEventType AInputEvent_getType(this AInputEvent @event) { return(default(AInputEventType)); }