Skip to content

Conversation

@groverlynn
Copy link
Contributor

No description provided.

@lotem
Copy link
Member

lotem commented Dec 19, 2022

I verified the keycodes in the PR by this article
https://eastmanreference.com/complete-list-of-applescript-key-codes

I wonder if these are always available or were added in a specific macOS version,
and I need to find out, do the modifer keys ever trigger NSEventTypeKeyDown as of today? Observing NSEventTypeFlagsChanged was a workaround because modifier key down events were never sent to the IME.

@groverlynn
Copy link
Contributor Author

groverlynn commented Dec 21, 2022

I verified the keycodes in the PR by this article https://eastmanreference.com/complete-list-of-applescript-key-codes

I wonder if these are always available or were added in a specific macOS version, and I need to find out, do the modifer keys ever trigger NSEventTypeKeyDown as of today? Observing NSEventTypeFlagsChanged was a workaround because modifier key down events were never sent to the IME.

In my test, these codes can tell left and right modifiers. System is MacOS 13.1. I recall that Karabiner has been able to tell the differences and show the exact keycodes of all keys since at least MacOS 10.14).

@lotem lotem closed this in 8b3cad7 Jan 8, 2023
@groverlynn groverlynn deleted the modifiers branch January 13, 2023 12:37
@lotem
Copy link
Member

lotem commented Feb 3, 2023

可能相關問題 #715

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

Successfully merging this pull request may close these issues.

2 participants