예제 #1
0
 public void handleKeyboardDown(object sender, KeyboardKeyEventArgs e)
 {
     Util.KeyModifiers modifiers = new Util.KeyModifiers();
     modifiers.getModifiers(Keyboard.GetState());
     UI.keyboard.modifiers            = modifiers;
     UI.keyboard.keysDown[(int)e.Key] = true;
 }
예제 #2
0
 public void handleKeyboardDown(object sender, KeyboardKeyEventArgs e)
 {
     Util.KeyModifiers modifiers = new Util.KeyModifiers();
     modifiers.getModifiers(myWindow.Keyboard);
     ImGui.keyboard.modifiers            = modifiers;
     ImGui.keyboard.keysDown[(int)e.Key] = true;
 }