![]() |
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.
|
Classes | |
| class | BlazorKeyboardAdapter |
Keyboard adapter for Blazor applications that feeds the Gondwana KeyboardEventPoller by translating browser KeyboardEvent.code values into BlazorKey integer codes. More... | |
Enumerations | |
| enum | BlazorKey { None = 0 , KeyA = 1 , KeyB = 2 , KeyC = 3 , KeyD = 4 , KeyE = 5 , KeyF = 6 , KeyG = 7 , KeyH = 8 , KeyI = 9 , KeyJ = 10 , KeyK = 11 , KeyL = 12 , KeyM = 13 , KeyN = 14 , KeyO = 15 , KeyP = 16 , KeyQ = 17 , KeyR = 18 , KeyS = 19 , KeyT = 20 , KeyU = 21 , KeyV = 22 , KeyW = 23 , KeyX = 24 , KeyY = 25 , KeyZ = 26 , Digit1 = 27 , Digit2 = 28 , Digit3 = 29 , Digit4 = 30 , Digit5 = 31 , Digit6 = 32 , Digit7 = 33 , Digit8 = 34 , Digit9 = 35 , Digit0 = 36 , ArrowLeft = 37 , ArrowRight = 38 , ArrowUp = 39 , ArrowDown = 40 , Space = 41 , Enter = 42 , Escape = 43 , Backspace = 44 , Tab = 45 , Delete = 46 , Insert = 47 , Home = 48 , End = 49 , PageUp = 50 , PageDown = 51 , ShiftLeft = 52 , ShiftRight = 53 , ControlLeft = 54 , ControlRight = 55 , AltLeft = 56 , AltRight = 57 , MetaLeft = 58 , MetaRight = 59 , CapsLock = 60 , NumLock = 61 , ScrollLock = 62 , F1 = 63 , F2 = 64 , F3 = 65 , F4 = 66 , F5 = 67 , F6 = 68 , F7 = 69 , F8 = 70 , F9 = 71 , F10 = 72 , F11 = 73 , F12 = 74 , Numpad0 = 75 , Numpad1 = 76 , Numpad2 = 77 , Numpad3 = 78 , Numpad4 = 79 , Numpad5 = 80 , Numpad6 = 81 , Numpad7 = 82 , Numpad8 = 83 , Numpad9 = 84 , NumpadAdd = 85 , NumpadSubtract = 86 , NumpadMultiply = 87 , NumpadDivide = 88 , NumpadDecimal = 89 , NumpadEnter = 90 , Minus = 91 , Equal = 92 , BracketLeft = 93 , BracketRight = 94 , Backslash = 95 , Semicolon = 96 , Quote = 97 , Backquote = 98 , Comma = 99 , Period = 100 , Slash = 101 } |
Maps browser KeyboardEvent.code values to stable integer key codes used by BlazorKeyboardAdapter and the Gondwana KeyboardEventPoller. More... | |
Maps browser KeyboardEvent.code values to stable integer key codes used by BlazorKeyboardAdapter and the Gondwana KeyboardEventPoller.
Enum member names exactly match the browser KeyboardEvent.code strings (e.g. KeyA, ArrowLeft, Space) so that Enum.TryParse<T> can be used to convert browser codes directly to key codes without an explicit lookup table. Pass a member name or its integer value to KeyboardEventPoller.StartMonitoringKey.
Definition at line 14 of file BlazorKey.cs.