Giter Club home page Giter Club logo

Comments (5)

slouken avatar slouken commented on June 18, 2024

Can you describe how they work differently?

from sdl.

312937 avatar 312937 commented on June 18, 2024
  1. Up to my recollection: SDL_IsTextInputActive was delivering the state of on-screen keyboard before 2.30.*. It seems to deliver always TRUE with 2.30.* (at least in the initial state no matter whether keyboard is shown or not).
  2. With 2.30.* I've noticed SDL_IsTextInputShown delivers FALSE.
    My difficulty is no functional description as well (difference between shown and active). Thus, I might have misinterpreted the intention.
  3. 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.

slouken avatar slouken commented on June 18, 2024

These details are enough to understand the issue, thanks!

from sdl.

slouken avatar slouken commented on June 18, 2024

I think what you want is SDL_IsScreenKeyboardShown()

from sdl.

expikr avatar expikr commented on June 18, 2024

potentially related: love2d/love#2031 (comment)

from sdl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.