Comments (5)
Hi @n00bmind, Thanks for reporting this issue. Without reproducing the issue myself, I can only speculate. One such speculation that comes to my mind: Is it possible that there is another tool running on the system that is also attaching a keyboard hook and that messes with what keystrokes Uncap can see? This is just a wild guess.
Uncap can be run in debug mode with uncap -d
. If you are willing to troubleshoot this issue, you could keep uncap -d
running as a foreground process and keep an eye on the debug logs to get a sense of what the debug logs look like during normal operation. Once the issue occurs, you could check the debug logs again to see if Uncap is receiving any keystrokes.
from uncap.
I've been running as a frontend process with uncap -d (just a normal cmd window that I kept open), and lo & behold even across a few days of putting the computer to sleep at night etc. the issue didn't happen a single time..
Yesterday I fully rebooted my computer so the normal background process was started again and today it broke again as usual..
If I add the '-d' flag to my batch file, its command window remains open instead of closing immediately, so I presume this will work. However I dont love the solution tbh..
Is there any way to tell uncap to log its debug output to a file instead or something like this?
from uncap.
Ok, so this is interesting..
I did add the '-d' flag to my batch file, and even though the console window has remained open this entire time, it did stop working after a while too.
Now when I press any keys at all no new lines appear in the debug log (even with the console window fully in focus).. seems like the process stopped receiving input for some reason?
from uncap.
I went ahead and created a .dmp file for the running process, in case it's of any help to you..
If you point me to a .pdb file maybe I could connect to it with the debugger myself and have a look around.
from uncap.
Thanks for the debug output. The observations you have shared is what I had suspected. It does look like for some reason the keyboard hook that Uncap sets to receive key strokes becomes ineffective at some point. It is unclear what causes it but I suspect it could be because some other program is setting a keyboard hook that is interfering with Uncap.
Unfortunately, I don't have a PDB file for this binary. It would have been nice to keep one, however, I haven't kept one. If you have a compiler with you, you might be able to build Uncap from source and get a PDB file for yourself. There are some instructions in the dev/
folder about it. However, I doubt whether the dump is going to be useful. Uncap only reacts to keyboard events it receives and since Uncap does not receive any events when this issue occurs, not much can be found in the dump.
from uncap.
Related Issues (20)
- Does this works for wsl(Windows Subsystem for linux)? HOT 3
- Version 0.3.0 doesn't work with Logitech Options 'Advanced Click' HOT 3
- [Feature Request]Read keymap from file
- Stuck in capslock HOT 2
- [Beginner] How do I stop Uncap? HOT 1
- Automatic run at Windows start-up? HOT 4
- 0x7B:0xB3 used to work, now it doesn't. no clue why. HOT 3
- Cannot Map Ctrl to Esc HOT 3
- Another alternative
- Combo? HOT 2
- Works strange in remote desktop HOT 4
- Question ⁉: How to permenately `uncap`, run at startup HOT 2
- Running uncap.exe actively closes my CMD shell
- Feature Request: delayed mapping/map timeout
- Map the caplock key as a set of key combinations
- Can't map extended keys (0xB4) HOT 3
- Breaks in video games HOT 3
- Windows 10: Output window is displayed HOT 4
- Thank you! HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uncap.