public InputKey RegisterKey(OctoKey keyID, KeyCode keyCode) { var newKey = new InputKey(keyCode); registeredKeys[keyID] = newKey; return(newKey); }
public InputKey GetKey(OctoKey keyID) { return(registeredKeys[keyID]); }
public void UnregisterKey(OctoKey keyID) { registeredKeys.Remove(keyID); }