protected override void OnKeyUp(KeyboardKeyEventArgs e) { base.OnKeyUp(e); if (KeyboardMap.TryGetValue(e.Key, out byte value)) { vm?.KeyUp(value); } }