private void KeyPressedEvent(LaunchEvent launchEvent)
        {
            LaunchAction action = LaunchPageHandler.Instance().CurPage.GetAction(launchEvent.Key);

            if (action != null)
            {
                if (launchEvent.IsPressed())
                {
                    action.Press();
                }
                else
                {
                    action.Release();
                }
            }
        }
Example #2
0
 public void CallEvent(LaunchEvent launchEvent)
 {
     LaunchEvents(launchEvent);
 }