This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
+3 votes

I'am writing a typing app and I need to warn the user when Caps- or Num- Lock key is active or not. How can I show the Caps Lock state via GDScript?

in Engine by (17 points)

I don't think it's possible. Are you trying to rewrite a text input system?

No, I have not try to rewrite the input system. I take a look on these.

The only way I see at the moment is to react to the caps lock key and show a warning sign, but when the applikation starts with caps lock enabled that's do not work. :(

I think the feature is not implemented indeed. You could ask for it by opening an issue on GitHub, it sounds like a good thing to provide in the OS singleton. Something like bool OS::is_caps_lock_enabled().

Ok, this sounds like a plan.

There's a github feature proposal. Log on and give it a thumbs up so that they can prioritize the development.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.