コード例 #1
0
        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);
 }