Replace keyboard callbacks with polling

This commit is contained in:
Sam C
2017-12-28 13:00:03 -08:00
parent c801830bcc
commit 9941a6f4aa
2 changed files with 128 additions and 136 deletions

View File

@ -33,10 +33,6 @@ namespace raylibUWP
void OnDpiChanged(Windows::Graphics::Display::DisplayInformation^ sender, Platform::Object^ args);
void OnOrientationChanged(Windows::Graphics::Display::DisplayInformation^ sender, Platform::Object^ args);
// Input Event Handlers
void OnKeyDown(Windows::UI::Core::CoreWindow ^ sender, Windows::UI::Core::KeyEventArgs ^ args);
void OnKeyUp(Windows::UI::Core::CoreWindow ^ sender, Windows::UI::Core::KeyEventArgs ^ args);
private:
bool mWindowClosed;