forked from genodelabs/genode-world
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! SDL2: preliminary handling SDL_TEXTINPUT
Make SDL2's textinput API more robust. We always send keyboard events if textinput has not been enabled by the application. Moreover, we only send key presses as text if the codepoint is valid and if it's not a known non-printable. Keyboard events are omitted if key presses are sent as text. This has been tested with sdl_vnc. genodelabs#368
- Loading branch information
Showing
1 changed file
with
16 additions
and
47 deletions.
There are no files selected for viewing
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