mirror of
https://github.com/keycastr/keycastr.git
synced 2026-05-15 06:06:06 -06:00
[PR #203] [CLOSED] Adds 'Mods only' visualizer #321
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#321
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/203
Author: @colinta
Created: 5/20/2021
Status: ❌ Closed
Base:
minimal-visualizer← Head:main📝 Commits (6)
c56f2d3adds 'Mods only' visualizer43f8fa0updates for Sonoma to ignore mouse events (resize frame on mods change)064f574code style changes, and ordered modifiers '⌃⌥⇧⌘'6681144supports 'FN' key, and I had the order flipped on modifiers7761adcgiving up on autosave frame, using defaults directly208c648if frame.origin.x is on left side of window, grow to the right. Otherwise grow to the left.📊 Changes
7 files changed (+533 additions, -0 deletions)
View changed files
📝
keycastr/KCEventTap.m(+3 -0)📝
keycastr/KeyCastr.xcodeproj/project.pbxproj(+170 -0)➕
keycastr/Mods-Info.plist(+22 -0)➕
keycastr/Mods.nib/designable.nib(+23 -0)➕
keycastr/Mods.nib/keyedobjects.nib(+0 -0)➕
keycastr/ModsVisualizer.h(+61 -0)➕
keycastr/ModsVisualizer.m(+254 -0)📄 Description
I made this for my own purposes, but I'll offer it up in the spirit of open source. Based on the Svelte visualizer, this one displays the current modifiers and nothing more.
I use it because I have a custom keyboard that implements sticky keys, and I needed to see them on screen (it's easy to lose track of which keys are pressed).
Not really useful for screencasting, but it does show how to create a new visualizer. 🤷♂️
Example of pressing "command+shift" and "command+control+alt+shift".
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.