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

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