Also log the text for SDL_TEXTINPUT events
This commit is contained in:
parent
289ec41e86
commit
726b1be0d0
1 changed files with 3 additions and 0 deletions
|
@ -529,6 +529,9 @@ static void event_execute( const SDL_Event& event, command_executor* executor)
|
|||
if (!executor) return;
|
||||
|
||||
LOG_HK << "event 0x" << std::hex << event.type << std::dec << std::endl;
|
||||
if(event.type == SDL_TEXTINPUT) {
|
||||
LOG_HK << "SDL_TEXTINPUT \"" << event.text.text << "\"\n";
|
||||
}
|
||||
|
||||
const hotkey_ptr hk = get_hotkey(event);
|
||||
if (!hk->active() || hk->is_disabled()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue