Linux SDL2 - Attempt to make AltGr in text input fields work, so e.g. German keyboard users can type @ € and such characters again.
parent
0ab3c69183
commit
8cd3733ad6
|
|
@ -1783,11 +1783,7 @@ void LLWindowSDL::gatherInput()
|
|||
for( auto key: string )
|
||||
{
|
||||
mKeyVirtualKey = key;
|
||||
|
||||
if( (MASK_CONTROL|MASK_ALT)&mKeyModifiers )
|
||||
gKeyboard->handleKeyDown(mKeyVirtualKey, mKeyModifiers );
|
||||
else
|
||||
handleUnicodeUTF16( key, mKeyModifiers );
|
||||
handleUnicodeUTF16( key, mKeyModifiers );
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
@ -1935,7 +1931,7 @@ void LLWindowSDL::gatherInput()
|
|||
// <FS:ND> I think is is not
|
||||
// SDL_SetWindowSize(mWindow, width, height);
|
||||
//
|
||||
|
||||
|
||||
mCallbacks->handleResize(this, width, height);
|
||||
}
|
||||
else if( event.window.event == SDL_WINDOWEVENT_FOCUS_GAINED ) // <FS:ND> What about SDL_WINDOWEVENT_ENTER (mouse focus)
|
||||
|
|
|
|||
Loading…
Reference in New Issue