This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// Forward declaration | |
int getWebKeyFromSDLKey(SDLKey key); | |
/// | |
/// Inject an SDL Key Event into a given WebView | |
/// | |
void handleSDLKeyEvent(Awesomium::WebView* webView, const SDL_Event& event) { | |
if (!(event.type == SDL_KEYDOWN || event.type == SDL_KEYUP)) | |
return; |