fix: handle macOS keypad key labels#83
Merged
Merged
Conversation
Member
|
@all-contributors add @KGH1113 for code |
Contributor
|
I've put up a pull request to add @KGH1113! 🎉 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Title
macOS 넘버패드 및 일부 특수 키 입력 처리 수정
Body
요약
PageDown,PageUp,Home,End등 일부 키가 입력으로 인식되지 않는 문제를 수정했습니다.rdev가 macOS에서Unknown(code)으로 전달하는 키를 앱의 기존 global key 라벨로 매핑하도록 보완했습니다.문제
macOS에서 일부 넘버패드/특수 키는
rdev이벤트에서 명확한 키 이름 대신Unknown(code)형태로 전달됩니다.기존 구현은 press 이벤트에서만
event.name힌트로 라벨을 만들 수 있었고, release 이벤트에서는 같은 라벨을 만들지 못하는 경우가 있었습니다. 이 때문에 넘버패드 키를 눌렀을 때 press는 처리되지만 release가 처리되지 않아 키가 계속 눌린 상태처럼 남았습니다.또한
PageDown같은 일부 키는 라벨 매핑이 없어 press 이벤트도 앱에서 처리되지 않았습니다.수정 내용
Kp1,KpPlus,KpReturn등rdev의 keypad key 이름도NUMPAD ...라벨로 처리되도록 보완했습니다.