Comments (5)
Can you describe how they work differently?
from sdl.
- Up to my recollection:
SDL_IsTextInputActive
was delivering the state of on-screen keyboard before2.30.*
. It seems to deliver always TRUE with2.30.*
(at least in the initial state no matter whether keyboard is shown or not). - With
2.30.*
I've noticedSDL_IsTextInputShown
delivers FALSE.
My difficulty is no functional description as well (difference between shown and active). Thus, I might have misinterpreted the intention. - Trying 2.30.1 I've checked shortly both and could not grasp the real function behind.
In between, I moved back to 2.28.5 to avoid the difficulty.
Usage note: Currently (i.e., using 2.28.5), I apply SDL_IsTextInputActive
to recognise whether the on-screen keyboard displayed or hidden. This might have been a mistake though it worked reliable the last few years.
I feel really sorry if the provided description is missing deterministic technical details, but I may hardly come back to the isssue at the moment due to my professional work-load.
from sdl.
These details are enough to understand the issue, thanks!
from sdl.
I think what you want is SDL_IsScreenKeyboardShown()
from sdl.
potentially related: love2d/love#2031 (comment)
from sdl.
Related Issues (20)
- Nintendo Sega Genesis Controller is Supported - but what about the 6 button Megadrive version HOT 1
- bad RWread error checking in testime.c HOT 3
- Autotools support HOT 4
- On XWayland, full screen request is ignored without error HOT 2
- Policy on tolerance of invalid parameters: programming error or API guarantee? HOT 2
- Improvements to and fixes of wikiheaders.pl and sdlwiki SDL API documentation generation. HOT 25
- Different SDL.h header file on releases Windows and MacOS .framework? HOT 1
- SDL_RenderPolygon's limit to the range 0 to 1 texture coordinates seems impractical and I don't get why it exists HOT 7
- Leaving Relative Mouse Mode with Esc in Emscripten causes state mismatch
- Permission dialog which ruins controller input is displayed on Android when plugging in a USB controller HOT 17
- SDL_RaiseWindow doesn't work on X11 KWin with "Focus Stealing Prevention Level" set to Low
- cmake file can't be used without a C++ compiler HOT 5
- PSP joystick polling happens not frequently enough HOT 6
- Commit ed463b4 doesn't respect `SDL_LEAN_AND_MEAN`
- SDL_LEAN_AND_MEAN CI build? HOT 2
- SDL2, wayland backend: Wayland scaling makes cursor smaller but it should be bigger HOT 11
- [SDL3] Fullscreen causes rendering issues (MacOS)
- [Windows:MSVC] building error with static SDL bug reappeared HOT 1
- *dst_px in SDL_PremultiplyAlpha() is inaccessible when setting cursor under wayland - causing "Bus error" HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdl.