mirror of
https://github.com/keycastr/keycastr.git
synced 2026-10-23 08:07:30 -06:00
[PR #351] [CLOSED] Distinguish numeric keypad keys #351
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#351
Loading…
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/351
Author: @AbdelrahmanHafez
Created: 8/10/2026
Status: ❌ Closed
Base:
main← Head:feat/numpad-key-labels📝 Commits (2)
6001d49test(events): cover numeric keypad labelsf7330fffeat(events): distinguish numeric keypad keys📊 Changes
2 files changed (+80 additions, -2 deletions)
View changed files
📝
keycastr/KCEventTransformer.m(+19 -2)📝
keycastr/KCVisualizerTests/KCKeystrokeConversionTests.m(+61 -0)📄 Description
I know @akitchen already mentioned that they're not accepting PRs for this, but I needed to record a video yesterday with this feature, so I built it anyway. This PR serves as a potential reference that can be adapted to the new version, I'll close it immediately after opening.
Fixes #224 re #296
KeyCastr currently renders numeric keypad keys the same way as their main keyboard equivalents, which makes it impossible to tell which key was pressed in demos.
This prefixes every keypad key with
⊞, including digits, operators, decimal, Clear, Enter, equals, and the JIS keypad comma. Main keyboard keys keep their existing labels.I added coverage for the complete keypad mapping and the matching main keyboard keys.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.