protected OnKeyUp ( Key key, int scanCode, KeyModifiers mods ) : void | ||
key | Key | |
scanCode | int | |
mods | KeyModifiers | |
Результат | void |
internal static void InvokeKey(GlFwForm f, Key key, int scanCode, KeyActionKind keyAction, KeyModifiers mods) { switch (keyAction) { default: throw new NotFiniteNumberException(); case KeyActionKind.Press: f.OnKeyDown(key, scanCode, mods); break; case KeyActionKind.Repeat: f.OnKeyRepeat(key, scanCode, mods); break; case KeyActionKind.Release: f.OnKeyUp(key, scanCode, mods); break; } }