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

Caps Lock Key/Modifier #2041

Closed
parker-codes opened this issue Sep 12, 2022 · 3 comments
Closed

Caps Lock Key/Modifier #2041

parker-codes opened this issue Sep 12, 2022 · 3 comments
Labels
feature New feature or request

Comments

@parker-codes
Copy link

Is your feature request related to a problem? Please describe.

Provide more visual context to a user as they are typing when Caps Lock is on. One example might be password inputs where a warning message could prevent confusion from accidental caps.

Describe the solution you'd like

I'd like to either be able to check the modifier state or listen to an on/off event. Then the UI could style the hint however I want.

@parker-codes parker-codes added the feature New feature or request label Sep 12, 2022
@njust
Copy link
Contributor

njust commented Sep 24, 2022

You can already check the modifiers via the input state.
https://docs.rs/egui/0.19.0/egui/struct.InputState.html
https://docs.rs/egui/0.19.0/egui/struct.Modifiers.html

@parker-codes
Copy link
Author

parker-codes commented Sep 24, 2022

What I'm specifically looking for though is the Caps Lock modifier, which is not yet available.

@emilk
Copy link
Owner

emilk commented Nov 28, 2023

Closed in favor of #3653

@emilk emilk closed this as completed Nov 28, 2023
This was referenced Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants