Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

Commit

Permalink
[Toolkit.Input] Fixed KeyboardInput for WinRT to work with overlaid X…
Browse files Browse the repository at this point in the history
…AML IInputElement. For example, the input event wasn't propagated to a focused TextBox.
  • Loading branch information
ArtiomCiumac committed Sep 20, 2013
1 parent 6ff993e commit f1f8a94
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Source/Toolkit/SharpDX.Toolkit.Input/KeyboardPlatformWinRT.cs
Expand Up @@ -206,7 +206,6 @@ protected override void BindWindow(object nativeWindow)
private void HandleWindowKeyDown(CoreWindow sender, KeyEventArgs args)
{
ProcessKeyEvent(args.VirtualKey, RaiseKeyPressed);
args.Handled = true;
}

/// <summary>
Expand All @@ -217,7 +216,6 @@ private void HandleWindowKeyDown(CoreWindow sender, KeyEventArgs args)
private void HandleWindowKeyUp(CoreWindow sender, KeyEventArgs args)
{
ProcessKeyEvent(args.VirtualKey, RaiseKeyReleased);
args.Handled = true;
}

/// <summary>
Expand All @@ -228,7 +226,6 @@ private void HandleWindowKeyUp(CoreWindow sender, KeyEventArgs args)
private void HandleUIElementKeyDown(object sender, KeyRoutedEventArgs args)
{
ProcessKeyEvent(args.Key, RaiseKeyPressed);
args.Handled = true;
}

/// <summary>
Expand All @@ -239,7 +236,6 @@ private void HandleUIElementKeyDown(object sender, KeyRoutedEventArgs args)
private void HandleUIElementKeyUp(object sender, KeyRoutedEventArgs args)
{
ProcessKeyEvent(args.Key, RaiseKeyReleased);
args.Handled = true;
}

/// <summary>
Expand Down

0 comments on commit f1f8a94

Please sign in to comment.