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
Gondwana.Blazor.Input.Keyboard Namespace Reference

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...

Enumeration Type Documentation

◆ BlazorKey

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.

Enumerator
None 

No key / unknown.

KeyA 

The A key.

KeyB 

The B key.

KeyC 

The C key.

KeyD 

The D key.

KeyE 

The E key.

KeyF 

The F key.

KeyG 

The G key.

KeyH 

The H key.

KeyI 

The I key.

KeyJ 

The J key.

KeyK 

The K key.

KeyL 

The L key.

KeyM 

The M key.

KeyN 

The N key.

KeyO 

The O key.

KeyP 

The P key.

KeyQ 

The Q key.

KeyR 

The R key.

KeyS 

The S key.

KeyT 

The T key.

KeyU 

The U key.

KeyV 

The V key.

KeyW 

The W key.

KeyX 

The X key.

KeyY 

The Y key.

KeyZ 

The Z key.

Digit1 

The 1 key on the digit row.

Digit2 

The 2 key on the digit row.

Digit3 

The 3 key on the digit row.

Digit4 

The 4 key on the digit row.

Digit5 

The 5 key on the digit row.

Digit6 

The 6 key on the digit row.

Digit7 

The 7 key on the digit row.

Digit8 

The 8 key on the digit row.

Digit9 

The 9 key on the digit row.

Digit0 

The 0 key on the digit row.

ArrowLeft 

The left arrow key.

ArrowRight 

The right arrow key.

ArrowUp 

The up arrow key.

ArrowDown 

The down arrow key.

Space 

The space bar.

Enter 

The Enter / Return key.

Escape 

The Escape key.

Backspace 

The Backspace key.

Tab 

The Tab key.

Delete 

The Delete key.

Insert 

The Insert key.

Home 

The Home key.

End 

The End key.

PageUp 

The Page Up key.

PageDown 

The Page Down key.

ShiftLeft 

The left Shift key.

ShiftRight 

The right Shift key.

ControlLeft 

The left Control key.

ControlRight 

The right Control key.

AltLeft 

The left Alt key.

AltRight 

The right Alt / AltGr key.

MetaLeft 

The left Meta / Windows / Command key.

MetaRight 

The right Meta / Windows / Command key.

CapsLock 

The Caps Lock key.

NumLock 

The Num Lock key.

ScrollLock 

The Scroll Lock key.

F1 

The F1 key.

F2 

The F2 key.

F3 

The F3 key.

F4 

The F4 key.

F5 

The F5 key.

F6 

The F6 key.

F7 

The F7 key.

F8 

The F8 key.

F9 

The F9 key.

F10 

The F10 key.

F11 

The F11 key.

F12 

The F12 key.

Numpad0 

Numpad 0.

Numpad1 

Numpad 1.

Numpad2 

Numpad 2.

Numpad3 

Numpad 3.

Numpad4 

Numpad 4.

Numpad5 

Numpad 5.

Numpad6 

Numpad 6.

Numpad7 

Numpad 7.

Numpad8 

Numpad 8.

Numpad9 

Numpad 9.

NumpadAdd 

Numpad +.

NumpadSubtract 

Numpad -.

NumpadMultiply 

Numpad *.

NumpadDivide 

Numpad /.

NumpadDecimal 

Numpad decimal point.

NumpadEnter 

Numpad Enter.

Minus 

The - / _ key.

Equal 

The = / + key.

BracketLeft 

The [ / { key.

BracketRight 

The ] / } key.

Backslash 

The \ / | key.

Semicolon 

The ; / : key.

Quote 

The ' / " key.

Backquote 

The ` / ~ key.

Comma 

The , / < key.

Period 

The . / > key.

Slash 

The / / ? key.

Definition at line 14 of file BlazorKey.cs.