mirror of
https://github.com/keycastr/keycastr.git
synced 2026-05-15 14:15:50 -06:00
[PR #94] [MERGED] Fixes non-QWERTY layout issues #306
Labels
No labels
bug
compatibility
discussion
documentation
enhancement
help wanted
help wanted
investigation needed
pull-request
release
visualizer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/keycastr#306
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/keycastr/keycastr/pull/94
Author: @akitchen
Created: 7/31/2017
Status: ✅ Merged
Merged: 8/12/2017
Merged by: @akitchen
Base:
master← Head:master📝 Commits (9)
38987f6Fixes display of shifted characters on non-QWERTY keyboard layouts7d68b54Shift-tab is handled as a special case0b442c7dead code removal9956852Improve typesafety of KCKeyboardTap's delegate4c291edRemove event tap upon deallocation if not already removed38eec47Clarify error message contexts5120f9fRemove event tap eagerly when app is terminating596aac9Adjust naming for readabilitya0e6bcbOffer clearer instructions when the app fails to create an event tap📊 Changes
7 files changed (+80 additions, -264 deletions)
View changed files
📝
keycastr/KCAppController.m(+14 -23)📝
keycastr/KCKeyboardTap.h(+3 -9)📝
keycastr/KCKeyboardTap.m(+21 -142)📝
keycastr/KCKeystroke.h(+7 -7)📝
keycastr/KCKeystroke.m(+8 -16)📝
keycastr/KCKeystrokeTransformer.m(+26 -62)📝
keycastr/KeyCastr.xcodeproj/project.pbxproj(+1 -5)📄 Description
With these fixes, the only keys handled with special casing are the keys which don't have a glyph associated with them automatically (like the arrows, space bar, tab, etc.). This addresses #56 etc.
This change removes the dependency on Carbon APIs, relying instead on NSEvent which may use a bit more memory. I haven't inspected this impact yet, but I'm not too worried about it... I may continue to update this PR before merging, but anyone can go ahead and try out the build in the
keycastr/bin/folder.Feedback is especially welcome from non-QWERTY and non-US users -- in fact it would be greatly appreciated! I tested Dvorak and Colemak using the input sources menu in macOS, not an actual hardware keyboard.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.