code52 / carnac Goto Github PK
View Code? Open in Web Editor NEWA utility to give some insight into how you use your keyboard
Home Page: http://carnackeys.com/
License: Microsoft Public License
A utility to give some insight into how you use your keyboard
Home Page: http://carnackeys.com/
License: Microsoft Public License
I had an attempt to fix this, but on Windows 8 (not sure if it is happening on other OS's) the KeyShowView is visable in the taskbar..
I have tried a heap of things, and It seems that if we set width/height of the window or the window state the window appears in the task bar...
This tool is quite useful for presentation, but I don't like it displays my password when I type it :-)
Could you consider ability to avoid displaying if I'm typing in password input (both for win-app and in-browser app)?
I want to use this to record my in-game controls. However, WASD movement keys constantly get repeated like "wwwwwwwwwwwwwwwwwwwwwwwwwww" when they are held down. I would like to see another way to show when keys are being held down for that purpose, like perhaps make the keys a different color, underlined or bolded?
Using Carnac.application (sandbox-installed it and grabbed the executables out) gives me an issue on the sliders, that in turn change the numbers on the various options. They move left and right, but change no number.
Please note manual updating and colors work as-advertised
Windows 8.1 Update 1, Fully updated
Hey, So this is where I am up to:
a) WindowState="Maximised" can apparently screw with TopMost="True" because other apps should be allowed to be on top and it's only topmost for that app.
b) If I use any of the p/invoke methods I can set it as topmost, not a problem, but none of the buttons (close, minimise, save) work in the other form.
Yeah, screwed if you do, screwed if you don't.
It would be great to add some Key-Combinations to an Ignore-List.
On maximizing carnac it hides popups with pressed keys. So that its topmost is "more topmost" than popups' one.
It's time: https://github.com/squirrel/squirrel.windows
Also, this is probably worth using https://github.com/flagbug/ClickOnceToSquirrelMigrator
cc @flagbug
Also we should stop using @JakeGinnivan's blob storage and use GitHub Releases.
We know the process, enable an option to show the process icon on the message
The msbuild task tries to build Ideastrike.sln instead of Carnac.sln
Is it possible to visualize mouse clicks at the same time? It will help in record mouse click in making screen casts.
Typing really
will result in real x2 y
which is not ideal.
Same with full stops. They should not get repeats so i can type ... and have 3 dots appear.
It would be great to control the timeout of the popups. In my opinion the default setting is to long.
Instead of repeating the down arrow character over and over
Create a quick build on AppVeyor using the current build scripts.
Something like http://labspace.open.ac.uk/file.php/7032/!via/oucontent/course/1846/y180_ch6_act12_enter.jpg I think would be good
@JakeGinnivan mentioned this in the room.
Also discussed he was on Win8 - worth checking that it's a normal problem, and if not if it's a Win8 problem.
Minor thing - chocolatey will ask for the specific file - and likely something that only occurs when the SHA hasn't been updated.
Relevant docs: http://www.appveyor.com/docs/deployment/github
If someone knows how to AppVeyor on this I'd love to know what I've overlooked.
The sliders in Appearance (i.e. Popup Text Width, Popup Opacity an Font Size) don't work. You can drag them but the associated value does not change.
Shortcut detection is severely hindering my ability to demonstrate my keyboard ninja skills.
I leave Carnac running all the time (I like seeing it, and I like making it clearer to any coworker audience what shortcuts I'm using)
As screen resolution gets changed, perhaps because of remoting into this workstation, the settings window and the main overlay window don't get resized/sanity checked.
Regardless of restarts, my windowed-mode settings pane is sized to 0 or is rendered offscreen (not sure) somehow and I can't get it back except by alttab to the settings window and then ❖↑ to maximize.
Also, if the overlay is set to the right side, screen resizes aren't recognized.
Might be cool to log statistics like number of key presses vs number of backspaces etc.
We need to remove mutation from carnacs Rx stream and based on messages (or some intermediate type) the UI can be updated.
This is the next step in cleaning up carnac's codebase.
Carnac stops working in the following case:
Open a console (for example: carnac\tools\xunit\xunit.console.x86.exe).
Try to create a scenario where you input a key and the console exits before carnac displays your key.
The app will stop working since GetAssociatedProcess() method won't find the process Id associated and an exception arises. Now the app no longer response.
Currently the settings are linked to a process. devenv for instance. Under settings I should be able to choose R#, VS or CodeRush Keymaps
In minimized version buttons appear like on screenshot, when you click on button and then drag mouse, still holding left MB pressed.
Found in revision with hash: d9f51ac.
Windows 7 x 64, geforce GT 230 with latest drivers.
first, thank you for contributing such a neat and cute software.
I'm new to github, and I hope the following information will be helpful.
I use Microsoft Keyboard Layout Creator to create a personal keyboard which is similar to programmer's dvorak keyboard created by Kaufmann(you can have a glimpse of it from http://www.kaufmann.no/roland/dvorak/). And I want to use it to do some Emacs presentation.
Though I never knew C# before, I managed to modify some code to satisfy my will.
I rearranged Key.D0 to Key.D9 and others in ReplaceKey.cs
And the way Key is presented in KeyProvider.cs. I changed Line 100 to
if ((controlPressed || altPressed) &&
interceptKeyEventArgs.Key.Sanitise().Length==1 &&
isLetter)
{
//Treat as a shortcut, don't be too smart
if (shiftPressed)
yield return "S";//"Shift";
yield return interceptKeyEventArgs.Key.Sanitise().ToLower();
}
thus when I press Ctrl+Shift+E it will show C-S-e, while "Ctrl+Shift+," will be presented as "C-<", just as our expectation. It's better to be smarter.
I hope it can read the keyboard layout from the input method instead of using only pre-defined shfit replacement from 123 to !@#. And I hope it will provide choices for how to present Ctrl, Shift, Alt, etc.
Sometimes after locking the screen with Windows+L key and later unlocking, Carnac thinks that the windows key is still pressed and shows it involved as a shortcut chord in every keypress. Pressing the windows key once more fixes the state. The shell itself doesn't think the key is depressed at those times because it doesn't respond to pressing "L", for example, by re-locking the screen.
It is easy to reproduce for me by holding down the windows key for about 5 seconds before pressing "L". after unlocking I see this behavior. Shorter durations are less likely to cause it, but it does happen.
that means:
I would like to choose some gourps to show:
such as
for example:
MahApps.Metro hit 1.0 recently. This is waaaaaaay behind. We should update it.
@punker76 mentioned a "clean style" might be a good fit.
Just cloned the repo and build with VS2013 and when the "Shortcuts Only" option is checked, every key press is shown except for Shortcuts (e.g. Alt+Tab).
When "Shortcuts Only" is unchecked then all key presses are logged.
Should be simple to fix I will have a go at writing a failing test.
Carnac does not handle errors. This should be addressed and we should log errors, or at least pop up a tooltip bubble from the tray icon saying an error happened which the user can click on.
Ideas welcome.
Some places i had to rework to make it work with a german Keyboard. Adding more configuration capabilities in that matter would be cool.
ReplaceKey.cs => in German some Keys map differnt. (Config file instead of hard code?)
Message.cs (I did a hack to get it right):
Special Characters like "","|","~","{",... on german Keyboards are only reachable by hitting CTRL+ALT + key. In this cases i want to have the character shown not the combination:
"CTRL+ALT+ß" == "" - Shows CTRL+ALT+ß instead
ShortcutProvider.cs:
I had to fix how you read the yml files as they did not read the Encoding correct, so my "ü" was lost.
// GERMAN
CultureInfo pt = CultureInfo.GetCultureInfo("de-de");
StreamReader sr = new StreamReader(file, Encoding.GetEncoding(pt.TextInfo.ANSICodePage), true);
yaml.Load(sr);
// GERMAN
// yaml.Load(File.OpenText(file));
For discussion, I'm not sure this is a bug in Carnac. After I unlock a PC, Carnac displays the Win key symbol beside every keystroke. For example, after I unlock my computer, if I press x, carnac shows Win + x; but the Windows Power User Menu does not appear so Windows doesn't think I pressed Win + x.
Hello!
Shift + ctrl + key and Shift + Alt + key are exhibited but Shift + key is not exhibited.
Spacebar is showing up nothing. Just one empty position on screen.
Shift + Space doesn't works like the Ctrl + Space.
Windows 7 x64.
I compiled the latest sources. When I install the ClickOnce application my settings are not saved after restarting the application. The corner where the messages come from and the Shortcuts Only option for example.
I've run the original 1.0.0.0 binary prior to the ClickOnce installation.
Can there be a mode that moves out of the way when the mouse cursor is in the vicinity? Kind of like the Chrome url preview overlay flips to the right side of the screen if the mouse is near it.
Hi
I've noticed that carnac
doesn't intercept keys if the active application is running with Administrator privileges.
Any workaround/fix? I've tried to run carnac
itself as administrator, without succeeding (Windows 10).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.