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

Add a cross-platform GetKeyboardModifierState() function #2296

Open
totalgee opened this issue Sep 19, 2022 · 0 comments
Open

Add a cross-platform GetKeyboardModifierState() function #2296

totalgee opened this issue Sep 19, 2022 · 0 comments

Comments

@totalgee
Copy link
Contributor

When trying to find out which modifier keys were pressed during a fileDrop() event, I found it was necessary to "roll my own" custom solution. (see https://discourse.libcinder.org/t/getting-keyboard-modifiers-in-filedrop/2043)

It would be nice if this cross-platform functionality was exposed as a Cinder function (as @axjxwright wrote, this can be done using Cocoa: [NSEvent modifierFlags] and Windows: GetAsyncKeyState()).

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

1 participant