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

Test for num/caps/scroll lock states #484

Open
2 tasks done
corlenbelspar opened this issue Feb 23, 2025 · 1 comment
Open
2 tasks done

Test for num/caps/scroll lock states #484

corlenbelspar opened this issue Feb 23, 2025 · 1 comment

Comments

@corlenbelspar
Copy link

Reviewed guidelines

  • I have read and understand the suggestion guidelines

Checked for duplicate suggestions

  • I checked for existing similar suggestions

Summary

It doesn't seem possible to find out the state of the keyboard lock keys.

Possible workarounds or alternatives

I don't know any.

Proposed solution

Add a condition or expression for them.

Why is this idea important?

I don't think it would be very high priority, but I've ran into a lot of times I wanted to test for it and couldn't, and had to come up with an alternate thing.

Additional remarks

No response

@F3der1co
Copy link

I guess exposing: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/getModifierState in the keyboard addon would be great.

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

No branches or pull requests

2 participants