Gondwana Game Engine Development (master) - 2.6.1
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop and web platforms using SkiaSharp for graphics and pluggable audio backends for desktop and browser targets.
Loading...
Searching...
No Matches
KeyDownEventArgs.cs
2
9public sealed class KeyDownEventArgs : EventArgs
10{
17
25
31 public KeyAction KeyAction { get; }
32
38 public bool IsShift => Modifiers.HasFlag(KeyboardModifierState.Shift);
39
45 public bool IsCtrl => Modifiers.HasFlag(KeyboardModifierState.Ctrl);
46
52 public bool IsAlt => Modifiers.HasFlag(KeyboardModifierState.Alt);
53
71 {
72 KeyConfig = config;
73 Modifiers = modifiers;
74 KeyAction = action;
75 }
76}
bool IsAlt
Gets a value indicating whether the Alt modifier key was pressed at the time this event was generated...
KeyboardModifierState Modifiers
Gets the state of keyboard modifier keys (Shift, Ctrl, Alt) at the time this event was generated....
KeyDownEventArgs(KeyEventConfiguration config, KeyboardModifierState modifiers, KeyAction action)
Initializes a new instance of the KeyDownEventArgs class with the specified key configuration,...
bool IsCtrl
Gets a value indicating whether the Control (Ctrl) modifier key was pressed at the time this event wa...
bool IsShift
Gets a value indicating whether the Shift modifier key was pressed at the time this event was generat...
KeyEventConfiguration KeyConfig
Gets the configuration details for the keyboard key that generated this event, including the key iden...
KeyAction KeyAction
Gets the type of action that occurred for this key, indicating whether the key was initially pressed,...
Represents the configuration for keyboard key events, including key identification and timing control...
KeyboardModifierState
Represents the state of keyboard modifier keys (Shift, Ctrl, Alt) that can be pressed simultaneously ...