Replace keyboard callbacks with polling
This commit is contained in:
parent
c801830bcc
commit
9941a6f4aa
1 changed files with 131 additions and 139 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue