Skip to content

Instantly share code, notes, and snippets.

@sosnus
Created February 15, 2017 12:06
Show Gist options
  • Select an option

  • Save sosnus/51677527432a6c35d5ed1451092d8c7f to your computer and use it in GitHub Desktop.

Select an option

Save sosnus/51677527432a6c35d5ed1451092d8c7f to your computer and use it in GitHub Desktop.
Gamepad controller;
DispatcherTimer dispatcherTimer;
TimeSpan period = TimeSpan.FromMilliseconds(50);
public MainPage()
{
this.InitializeComponent();
dispatcherTimer = new DispatcherTimer();
dispatcherTimer.Tick += dispatcherTimer_Tick;
dispatcherTimer.Start();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment