示例#1
0
        void KeyFilterSdlConfigMappings_MouseDown(object sender, SdlDotNet.MouseButtonEventArgs e)
        {
            string mousebuttonname = MouseEventToKeyName(e);

            if (mousebuttonname != "")
            {
                HandleKeyDown(mousebuttonname);
            }
        }
示例#2
0
        void KeyNameCache_MouseUp(object sender, SdlDotNet.MouseButtonEventArgs e)
        {
            Console.WriteLine("KeyNameCache_MouseUp");
            string mousebuttonname = MouseEventToKeyName(e);

            if (mousebuttonname != "")
            {
                HandleKeyUp(mousebuttonname);
            }
        }
示例#3
0
 void Layer2MouseEvents_MouseDown(object sender, SdlDotNet.MouseButtonEventArgs e)
 {
     targetentity = Picker3dController.GetInstance().GetClickedEntity(e.X, e.Y);
 }
示例#4
0
 void Layer2MouseEvents_MouseUp(object sender, SdlDotNet.MouseButtonEventArgs e)
 {
 }