public Change(NanoKey key, Action <float> callback) { _key = key; _callback = callback; }
public Trigger(NanoKey key, Action callback) { _key = key; _callback = callback; }
public void OnToggle(NanoKey key, Action <bool> callback) { _toggle.Add(new Toggle(key, callback)); }
public void OnTrigger(NanoKey key, Action callback) { _high.Add(new Trigger(key, callback)); }
public void OnLow(NanoKey key, Action callback) { _low.Add(new Trigger(key, callback)); }
public void On(NanoKey key, Action <float> callback) { _change.Add(new Change(key, callback)); }
public Toggle(NanoKey key, Action <bool> callback) { _key = key; _callback = callback; State = false; }