private void KeyPressedEvent(LaunchEvent launchEvent) { LaunchAction action = LaunchPageHandler.Instance().CurPage.GetAction(launchEvent.Key); if (action != null) { if (launchEvent.IsPressed()) { action.Press(); } else { action.Release(); } } }
public void CallEvent(LaunchEvent launchEvent) { LaunchEvents(launchEvent); }