Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ogc: add support APIs for virtual keyboards #61

Open
wants to merge 1 commit into
base: ogc-sdl-2.28
Choose a base branch
from

Conversation

mardy
Copy link
Collaborator

@mardy mardy commented Mar 10, 2024

This commit adds a new public header (SDL_ogcsupport.h) which provides a couple of APIs so that an application would be able to hook into the On-Screen Keyboard (OSK) calls and provide its own implementation of an OSK.

The usefulness of this is that the API is designed in such a way that the OSK implementation can reside in a separate project which would only provide a static library to be linked against the application. In this way, SDL applications only need change a couple of lines in order to get the OSK functionality.

A sample implementation of an OSK is available in this github project (README coming soon!).

This commit adds a new public header (SDL_ogcsupport.h) which provides a
couple of APIs so that an application would be able to hook into the
On-Screen Keyboard (OSK) calls and provide its own implementation of an
OSK.

The usefulness of this is that the API is designed in such a way that
the OSK implementation can reside in a separate project which would only
provide a static library to be linked against the application. In this
way, SDL applications only need change a couple of lines in order to get
the OSK functionality.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant