private void OnGotFocus(object?sender, GotFocusEventArgs e)
        {
            _vm.Keys = new AvaloniaList <byte>();

            InterceptKeys.KeyDown += key => {
                if (key == (int)Keys.Delete)
                {
                    _vm.Keys = new AvaloniaList <byte>();
                    _vm.SetKeys();
                    return;
                }

                _vm.Keys.Add((byte)key);
                _vm.SetKeys();
            };
        }
        public KeyboardNode(KeyboardNodeViewModel vm)
        {
            DataContext = _vm = new KeyboardNodeViewModel {
                DelayAfter  = vm.DelayAfter,
                DelayBefore = vm.DelayBefore,
                Keys        = vm.Keys,
                InputType   = vm.InputType,
            };

            _vm.SetKeys();

            InitializeComponent();
        }