You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: not shown at all when Android emulator is used #240
When I launch Google's Android emulator while having Carnac, it doesn't show anything at all while typing there.
I think most apps fail to do this correctly. But I've found one that does (using the option to start as admin, for some reason) : https://keypressosd.com/
I suggest to add this option too, of starting as admin. Seems it fixes this issue for Carnac
This issue where Carnac stops displaying keystrokes when certain applications are focused has been addressed in my fork!
Context & Root Cause
Why this happens: Carnac uses a standard Windows low-level keyboard hook (WH_KEYBOARD_LL). Due to Windows User Interface Privilege Isolation (UIPI), a non-elevated process is blocked by the OS kernel from receiving keyboard hook events whenever the active foreground window is running with Administrator (elevated) privileges (such as an elevated IDE like IntelliJ IDEA / Visual Studio, AutoCAD, Total Commander, Emacs, Android Emulator, Abaqus, Avid Pro Tools, or Parsec). Previously, Carnac gave no indication why keystrokes stopped appearing, and old Squirrel builds also had issues when launched directly as Administrator.
Automatic Elevated App Detection (ElevatedAppDetector): When Carnac is running un-elevated and you focus an Administrator window, Carnac automatically detects the elevation mismatch via Win32 token inspection and displays a one-time system tray balloon notification explaining that the active app is running as Administrator.
One-Click "Restart as Administrator": You can click the tray notification balloon—or right-click the Carnac tray icon and select "Restart as administrator"—to immediately relaunch Carnac with Administrator privileges so it can capture keystrokes inside elevated applications seamlessly.
Upcoming Release: This will be included in the next official release, which will be published to GitHub Releases (both installer and portable .zip), WinGet (winget install doggy8088.Carnac), and Chocolatey.
@doggy8088 I actually use a different fork of it, that supports mouse clicking too, and also shows Unicode characters in general and not just English.
Could be nice if you add these too.
If you wish, here's a zip of it, which sadly I forgot where I got it from:
The only downside there is that for RTL languages (Arabic, Hebrew, Persשלוםian...), the order is in the opposite direction for words. Not sure how this could be fixed, if at all, as text can be mixed with LTR languages...
Example (I wrote "שלום" in Hebrew, which means "Hello"):
@doggy8088 I tested it now, and while it now handled Unicode (still with the opposite order issue), it doesn't handle mouse as I've shown on the screenshot. It just shows a circle of where I've clicked. It can't handle mouse wheel for example, or side buttons of the mouse...
Try what I've provided and compared. What I have handles the mouse better.
Good news — both of the features from that custom build (Unicode / OS keyboard layout characters via Win32 ToUnicodeEx and Mouse click highlights) have already been integrated into my maintained fork (doggy8088/carnac)! 🎉
Regarding RTL Languages (Hebrew, Arabic, Persian) & Mixed LTR/RTL Text
That's a great catch! The reason "שלום" appears reversed in that build is due to how Carnac renders character streams in WPF:
Currently, each individual keystroke is stored as a separate item in an ItemsSource collection (["ש", "ל", "ו", "ם"]) and laid out inside a left-to-right <WrapPanel /> (one TextBlock per key).
Because each letter is isolated in its own ListBoxItem placed left-to-right, WPF's built-in Unicode Bidirectional (BiDi) algorithm never gets a chance to shape adjacent RTL characters as a continuous word!
If consecutive plain-text characters are merged into a single TextBlock run (while keeping special keycaps like Ctrl, Enter, Tab as separate items), WPF's native Unicode BiDi engine can automatically render "שלום" right-to-left—even when mixed with LTR English text!
Would you mind opening an issue for RTL (Hebrew / Arabic) character ordering over at doggy8088/carnac/issues with your screenshot? We'd be happy to track and fix that in our fork!
@doggy8088 Which version has mouse handling as I've shown on the screenshot? I tested 2.5.0, and I don't see a new version... Please try the one I got from somewhere here, which is also a fork. I'm sure you can use the code from there, to merge the code.
Hi @AndroidDeveloperLB! Apologies for the confusion — that was my mistake due to a timing overlap! 😅
1. Why our messages crossed
When I posted my previous reply (at 14:41:08 UTC), I was still typing a response to your first comment (14:17:08 UTC) and hadn't seen your second comment (14:40:43 UTC), which came in just 25 seconds earlier. That made it sound like I was claiming v2.5.0 already had the mouse keycap icons, wheel, and side buttons from your screenshot. Sorry about that!
2. The difference between v2.5.0 and the .zip build you shared
I inspected the Carnac.zip (v2.3.0.0) you attached and traced it back to @bfritscher's fork (Code52/carnac#162 — "Mouse click highlight v2 with mouse actions as keys in addition to visual circles"):
What v2.5.0 (doggy8088/carnac#32) currently has: We only ported the cursor click highlight rings (drawing a colored circle around the mouse pointer on Left / Middle / Right clicks).
What was missing compared to your screenshot: We had not yet ported the OSD mouse keycap icons part of Code52/carnac#162 — namely:
Rendering mouse actions inside the OSD keystroke popup stream as graphical mouse keycap icons (with the active button/wheel highlighted in red/orange, just like in your screenshot).
Supporting Mouse Wheel Up / Down and Mouse Side Buttons (XButton1 / XButton2).
Supporting Modifier + Mouse combinations (e.g. Ctrl + Click, Ctrl + Mouse Wheel) and x N repeat grouping.
3. Next Steps
I have created a dedicated tracking issue in my repository to port this feature cleanly:
I am working on implementing doggy8088/carnac#61 right now and will ping you once it is merged and ready to test! Thank you so much for sharing the .zip and screenshot to help clarify this. 🙏
Graphical Mouse Keycaps in OSD Popup: Left, Middle, Right, and Side buttons (XButton1 / XButton2), as well as Mouse Wheel Up/Down, are now rendered as vector mouse keycap icons directly in the OSD keystroke popup stream.
Modifier Combinations & Repeat Grouping: Full support for modifier combinations (e.g., Ctrl + WheelUp/Down, Alt + Left Click, Win + Click) and consecutive repeat counts (x N).
Independent Settings: Under the Mouse tab in Preferences, you can now independently toggle:
Show mouse clicks (cursor click highlight rings)
Show mouse buttons in OSD (mouse button keycaps in the popup stream)
Show mouse wheel in OSD (scroll wheel keycaps in the popup stream)
This will be included in our next release. Thanks again for pointing out the difference and sharing your screenshots!
@doggy8088 Now on 2.6.0 it works. Please make it be enabled by default. A mouse is very commonly used after all. Also there is no circle in the mouse cursor for the other buttons, and there is no settings for it either.
Another issue: I've noticed that not all keys are captured.
For example some of the most commonly used keys: CTRL, ALT, SHIFT.
There is for some reason a turned-off setting for this, but it would still not work for SHIFT key.
Both of these work fine on the fork I've provided you.
Example:
There is no explanation about what is "silent mode" and what is "pause hotkey". Maybe you could add tooltip for them? I assume "pause" would stop capturing and still show the recent events, and that "silent" means it gets disabled, not capturing&showing anything for now?
As reaching the settings is rare and possible via right click anyway on the system tray, maybe you could have a setting for what to do when left-clicking on the icon in the system tray? For example could be nice to disable/enable Carnac, which means users could have it stay in the system tray forever, used quickly when needed, not needing to exit&start it later each time they want to use it.
Activity
doggy8088 commentedon Oct 10, 2026
Hi there! 👋
I (@doggy8088 / Will Huang) have stepped in to take over active maintenance of Carnac at doggy8088/carnac (project website: https://carnac.gh.miniasp.com/).
This issue where Carnac stops displaying keystrokes when certain applications are focused has been addressed in my fork!
Context & Root Cause
Availability
AndroidDeveloperLB commentedon Oct 10, 2026
@doggy8088 I actually use a different fork of it, that supports mouse clicking too, and also shows Unicode characters in general and not just English.
Could be nice if you add these too.
If you wish, here's a zip of it, which sadly I forgot where I got it from:
Carnac.zip
The only downside there is that for RTL languages (Arabic, Hebrew, Persשלוםian...), the order is in the opposite direction for words. Not sure how this could be fixed, if at all, as text can be mixed with LTR languages...
Example (I wrote "שלום" in Hebrew, which means "Hello"):
AndroidDeveloperLB commentedon Oct 10, 2026
@doggy8088 I tested it now, and while it now handled Unicode (still with the opposite order issue), it doesn't handle mouse as I've shown on the screenshot. It just shows a circle of where I've clicked. It can't handle mouse wheel for example, or side buttons of the mouse...
Try what I've provided and compared. What I have handles the mouse better.
doggy8088 commentedon Oct 10, 2026
Hi @AndroidDeveloperLB! 👋
Good news — both of the features from that custom build (Unicode / OS keyboard layout characters via Win32
ToUnicodeExand Mouse click highlights) have already been integrated into my maintained fork (doggy8088/carnac)! 🎉UseKeyboardLayoutNames): Show keys as named on the keyboard layout in use (upstream #161) doggy8088/carnac#30ShowMouseClicks): Optionally highlight mouse clicks with a ring around the pointer (upstream #162) doggy8088/carnac#32Regarding RTL Languages (Hebrew, Arabic, Persian) & Mixed LTR/RTL Text
That's a great catch! The reason
"שלום"appears reversed in that build is due to how Carnac renders character streams in WPF:ItemsSourcecollection (["ש", "ל", "ו", "ם"]) and laid out inside a left-to-right<WrapPanel />(oneTextBlockper key).ListBoxItemplaced left-to-right, WPF's built-in Unicode Bidirectional (BiDi) algorithm never gets a chance to shape adjacent RTL characters as a continuous word!TextBlockrun (while keeping special keycaps likeCtrl,Enter,Tabas separate items), WPF's native Unicode BiDi engine can automatically render"שלום"right-to-left—even when mixed with LTR English text!Would you mind opening an issue for RTL (Hebrew / Arabic) character ordering over at doggy8088/carnac/issues with your screenshot? We'd be happy to track and fix that in our fork!
AndroidDeveloperLB commentedon Oct 11, 2026
@doggy8088 Which version has mouse handling as I've shown on the screenshot? I tested 2.5.0, and I don't see a new version... Please try the one I got from somewhere here, which is also a fork. I'm sure you can use the code from there, to merge the code.
doggy8088 commentedon Oct 11, 2026
Hi @AndroidDeveloperLB! Apologies for the confusion — that was my mistake due to a timing overlap! 😅
1. Why our messages crossed
When I posted my previous reply (at
14:41:08 UTC), I was still typing a response to your first comment (14:17:08 UTC) and hadn't seen your second comment (14:40:43 UTC), which came in just 25 seconds earlier. That made it sound like I was claimingv2.5.0already had the mouse keycap icons, wheel, and side buttons from your screenshot. Sorry about that!2. The difference between
v2.5.0and the.zipbuild you sharedI inspected the
Carnac.zip(v2.3.0.0) you attached and traced it back to@bfritscher's fork (Code52/carnac#162 — "Mouse click highlight v2 with mouse actions as keys in addition to visual circles"):v2.5.0(doggy8088/carnac#32) currently has: We only ported the cursor click highlight rings (drawing a colored circle around the mouse pointer on Left / Middle / Right clicks).Code52/carnac#162— namely:XButton1/XButton2).Ctrl + Click,Ctrl + Mouse Wheel) andx Nrepeat grouping.3. Next Steps
I have created a dedicated tracking issue in my repository to port this feature cleanly:
I am working on implementing doggy8088/carnac#61 right now and will ping you once it is merged and ready to test! Thank you so much for sharing the
.zipand screenshot to help clarify this. 🙏doggy8088 commentedon Oct 11, 2026
@AndroidDeveloperLB Quick update: I have finished implementing this feature and merged it into our
devbranch via doggy8088#62 (closing doggy8088#61).What's included:
XButton1/XButton2), as well as Mouse Wheel Up/Down, are now rendered as vector mouse keycap icons directly in the OSD keystroke popup stream.Ctrl + WheelUp/Down,Alt + Left Click,Win + Click) and consecutive repeat counts (x N).This will be included in our next release. Thanks again for pointing out the difference and sharing your screenshots!
AndroidDeveloperLB commentedon Oct 11, 2026
@doggy8088 Thank you. I've marked the project to be watched.
AndroidDeveloperLB commentedon Oct 11, 2026
@doggy8088 Now on 2.6.0 it works. Please make it be enabled by default. A mouse is very commonly used after all. Also there is no circle in the mouse cursor for the other buttons, and there is no settings for it either.
Another issue: I've noticed that not all keys are captured.
For example some of the most commonly used keys: CTRL, ALT, SHIFT.
There is for some reason a turned-off setting for this, but it would still not work for SHIFT key.
Both of these work fine on the fork I've provided you.
Example:
There is no explanation about what is "silent mode" and what is "pause hotkey". Maybe you could add tooltip for them? I assume "pause" would stop capturing and still show the recent events, and that "silent" means it gets disabled, not capturing&showing anything for now?
As reaching the settings is rare and possible via right click anyway on the system tray, maybe you could have a setting for what to do when left-clicking on the icon in the system tray? For example could be nice to disable/enable Carnac, which means users could have it stay in the system tray forever, used quickly when needed, not needing to exit&start it later each time they want to use it.
doggy8088 commentedon Oct 11, 2026
@AndroidDeveloperLB It's released.