The official XAML Sample Input code is outdated. Here is some updated code for responding to the WinRT Input Events,