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

NSKeyUp is deprecated, use NSEventTypeKeyUp instead. #5268

Closed
mihaitoaca opened this issue May 1, 2022 · 1 comment
Closed

NSKeyUp is deprecated, use NSEventTypeKeyUp instead. #5268

mihaitoaca opened this issue May 1, 2022 · 1 comment

Comments

@mihaitoaca
Copy link

Filename: imgui_impl_osx.mm
Line: 447

NSEventMask eventMask = NSEventMaskFromType(NSKeyUp) | NSEventMaskFlagsChanged;

to

NSEventMask eventMask = NSEventMaskFromType(NSEventTypeKeyUp) | NSEventMaskFlagsChanged;

ocornut pushed a commit that referenced this issue May 3, 2022
…Move event tracking (desktop only) to OSX backend. (#4821)

Fix using NSKeyUp (#5268).
@ocornut
Copy link
Owner

ocornut commented May 3, 2022

Should have been fixed along with e66fc22
Thanks!

@ocornut ocornut closed this as completed May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants